Skip to content
Snippets Groups Projects
Commit ee5cd8ab authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch...

Merge branch '321-notfoundinregistry-no-such-preference-in-globalpreferenceregistry-with-section-alsijil-and-name' into 'master'

Resolve "NotFoundInRegistry: No such preference in GlobalPreferenceRegistry with section=alsijil and name=inherit_privileges_f..."

Closes #321

See merge request !431
parents fa0bace5 1e5b38d2
No related branches found
No related tags found
1 merge request!431Resolve "NotFoundInRegistry: No such preference in GlobalPreferenceRegistry with section=alsijil and name=inherit_privileges_f..."
Pipeline #193685 failed
......@@ -14,6 +14,19 @@ from aleksis.core.registries import site_preferences_registry
alsijil = Section("alsijil", verbose_name=_("Class register"))
@site_preferences_registry.register
class InheritPrivilegesFromParentGroup(BooleanPreference):
section = alsijil
name = "inherit_privileges_from_parent_group"
default = True
verbose_name = _(
"Grant the owner of a parent group the same privileges "
"as the owners of the respective child groups "
"in regard to group role management and generating "
"full printouts of class registers."
)
@site_preferences_registry.register
class GroupOwnersCanAssignRolesToParents(BooleanPreference):
section = alsijil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment