Bug #40867
closedEpic #90674: Backend UI not reflecting permissions
User-rights: Workspaces-settings though workspace-extension disabled
100%
Description
Under rights for user/user-group (BE) there is a tab for "Mounts and workspaces". That even shows the ability to choose workspace-permissions when the workspace-extension is disabled.
By default the workspaces "Live" and "Draft" always "exist". But could those settings maybe only shown when the workspaces-modul is actually loaded? Or can those settings even be added to the mask dynamically by the workspace-extension itself (so it would not show unless that extension is loaded)?
Updated by Gerrit Code Review over 9 years ago
- Status changed from New 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/35987
Updated by Gerrit Code Review over 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/35987
Updated by Mathias Schreiber over 9 years ago
- Status changed from Under Review to New
- Is Regression set to No
Updated by Riccardo De Contardi almost 9 years ago
as far as I can remember, the "draft" workspace has been removed since 4.5
It is true that, even if the workspaces extension is disabled, the user and usergroup record has still the "Workspace permissions: edit live (online)" checkbox on the tab "Mounts and workspaces", which may be a bit confusing if there are no workspaces (this still happens on 7.6-dev (latest master)).
I see 2 possible solutions:
1) hide the checkbox if ext:workspaces is disabled
or
2) make the checkbox disabled if ext:workspaces is disabled
Updated by Stefan Neufeind almost 9 years ago
Or have that checkbox added to the dialog by EXT:workspaces itself? Imho that would be the clean way to decouple that EXT. (I'm aware it's still hard-wired in some other areas - but we'll have to start somewhere.)
I somewhat doubt though that this change is likely to land in 7 - more realistic for 8 then.
Updated by Riccardo De Contardi almost 9 years ago
of course! I wrote it badly :) I should have written "remove" instead of "hide"
Updated by Riccardo De Contardi over 4 years ago
- TYPO3 Version changed from 4.5 to 9
This issue is still present on 9.5.14
Test:
- Fresh TYPO3 installation without EXT:workspaces installed
- Create a BE usergroup
- "Tab Mounts and Workspaces" > the checkbox Workspace permissions
[workspace_perms]
is still present and the value is 0 by default
Updated by Gerrit Code Review over 4 years ago
- Status changed from New 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/63761
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63761
Updated by Benni Mack over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 045e4a9c381778a331dc49dfc4c03a805d71e51c.