Bug #26901
closedIcon for new page should be hidden if no access to pages
100%
Description
If an user doesn't have any access to pages records, he shouldn't even see the icon above the tree.
moreover: if trying to add a page, the error is wrong as it says "Exception
[1.2.1]: Attempt to modify table '%s' without permission". so the %s is not substituted.
Updated by Alexander Opitz over 10 years ago
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.4)?
Updated by Stefan Neufeind over 10 years ago
- Status changed from Needs Feedback to Accepted
With master (pre-6.3) it sort-of still exists. Above the tree the user still has a "new"-icon. When clicking on that the toolbar of available page-types to create would usually show up. That toolbar is empty. But still it's irritating to have that icon there if you don't have rights to create a page.
Updated by Daniel Goerz about 9 years ago
- Target version set to 7 LTS
- TYPO3 Version changed from 4.6 to 7
- PHP Version changed from 5.3 to 5.5
Updated by Gerrit Code Review about 9 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43629
Updated by Daniel Goerz about 9 years ago
How to reproduce/test:
- Create a Backend User Group
- Dont grant Right to Create any Doktype
- Assign Group to non-admin BE-User
- Login with that user
This solution has the tiny flaw, that the Icon now appears not until the AJAX Call has finished and is not visible for the duration of the call. This was however imho preferable to showing the icon always and make it disappear if no rights are granted, as users are familiar with stuff being loaded asynchronously rather than stuff disappearing. Additionally the toolbar is empty as well for the duration of the AJAX call.
Updated by Daniel Goerz about 9 years ago
Regarding #13265 it is questionable if we need that button at all. Opinions?
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43629
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43629
Updated by Daniel Goerz about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7f6698489747795aeb523673e96c9f194cfd03fe.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed