sbsdev / daisyproducer2

An integrated production management system for accessible media
GNU Affero General Public License v3.0
0 stars 0 forks source link

Create roles for Wörterbuch admin #80

Closed egli closed 3 years ago

egli commented 3 years ago

Pages that modify the global dictionary should only be shown to users with the appropriate role.

So far these pages were shown to all users that are members of the "mvl" group

egli commented 3 years ago

The roles are defined in LDAP now. They are named _daisyproducer.edit_globalwords and _daisyproducer.editmetadata The first role is used to determine whether a user has access to the global dictionary.

egli commented 3 years ago

The code has been adapted to look for these roles (5705ae47a87212f72dc0806b05af9007d7f512d1)