How to add custom access that does not belong to a module to a user #1369
Labels
bug(fix)
Something isn't working or address a specific issue or vulnerability
help wanted
Extra attention is needed
viur-meeting
Issues to discuss in the next ViUR meeting
For example a user should get the access
scriptor
.If this user has his access via roles, he cannot have
role:custom
, so I cannot choose theaccess:scriptor
.I can add
role:scriptor
(addconf.user.roles["scriptor"] = "Scriptor"
in e.g.main.py
)), but since this does not belong to any module, it wouldn't be collected.
So to get this running I need to extend
UserSkel.toDB
with:The text was updated successfully, but these errors were encountered: