- Issue created by @SteffenR
- Assigned to SteffenR
- Merge request !16#3401614: Improve permission to access deepl_glossary overview/ edit glossaries entries only → (Merged) created by SteffenR
-
SteffenR →
committed 9b10b10a on 2.2.x
#3401614: Improve permission to access deepl_glossary overview/ edit...
-
SteffenR →
committed 9b10b10a on 2.2.x
- Issue was unassigned.
- Status changed to Needs review
12 months ago 2:38pm 18 November 2023 - 🇩🇪Germany SteffenR Germany
@mrshowerman
The changes can be tested in the latest 2.2.x-dev release of the module.I've also added a new permission access deepl_glossary overview to simplify access handling.
Two hook_update_n take care of updating existing user roles with the new permissions.
Feel free to test and give feedback. - Status changed to Needs work
12 months ago 9:30am 20 November 2023 - 🇩🇪Germany mrshowerman Munich
Not sure if this is a bug or a misunderstanding on my side, but I had to grant the "administer deepl_glossary entities" permission along with "access deepl_glossary overview" and "edit deepl_glossary glossary entries" in order enable editors to access and edit glossary entries.
While editors aren't able to edit the glossary entities (which is good), I had expected that only the last two permissions would suffice, and the "administer" term sounds more powerful than what I wanted to grant them 😉 - 🇩🇪Germany SteffenR Germany
I'll have a further look.
I my testing it was sufficient to just set access deepl_glossary overview and edit deepl_glossary glossary entries.. - 🇩🇪Germany SteffenR Germany
@mrshowerman
Are you sure, that your permissions are configured correctly?I just did a test on a blank D10 site with just tmgmt and tmgt_deepl installed and got access to the deepl_glossary overview page without the need of the administer permission.
The following permissions are granted to the role content_editor
- 'access administration pages' - 'access content overview' - 'access contextual links' - 'access deepl_glossary overview' - 'access files overview' - 'access toolbar' - 'access tour' - 'administer url aliases' - 'create article content' - 'create page content' - 'create terms in tags' - 'create translation jobs' - 'create url aliases' - 'delete article revisions' - 'delete own article content' - 'delete own page content' - 'delete page revisions' - 'edit deepl_glossary glossary entries' - 'edit own article content' - 'edit own comments' - 'edit own page content' - 'edit terms in tags' - 'revert all revisions' - 'view all revisions' - 'view own unpublished content' - 'view the administration theme'
- Status changed to RTBC
12 months ago 7:52am 22 November 2023 - 🇩🇪Germany mrshowerman Munich
I installed the module on another site, and there the "access overview " and "edit entries" permissions were sufficient. So it must be a different issue on the first site, will have to find out myself.
Sorry for the noise, I think this is ready.
- Status changed to Fixed
12 months ago 1:29pm 27 November 2023 - 🇩🇪Germany SteffenR Germany
Thanks for testing the new functionality.
A new 2.2.0 release was just released. Automatically closed - issue fixed for 2 weeks with no activity.