Skip to content
Snippets Groups Projects
Commit 09cea57e authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '627-missing-permission-for-user-invitations' into 'master'

Resolve "Missing permission for user invitations"

Closes #627

See merge request !923
parents 39ff7b51 24f0995c
No related branches found
No related tags found
1 merge request!923Resolve "Missing permission for user invitations"
Pipeline #50953 passed
Pipeline: AlekSIS

#50963

    ......@@ -24,6 +24,7 @@ Fixed
    * Some preferences were required when they shouldn't, and vice versa.
    * IO errors on accessing backup directory in health check are now properly reported
    * Date picker was not properly initialized if field was already filled.
    * The menu item for entering an invitation code received offline was missing
    * CleaveJS was not loaded properly when using an external CDN
    `2.6`_ - 2022-01-10
    ......
    ......@@ -325,6 +325,10 @@ rules.add_perm("core.can_register", can_register_predicate)
    can_change_password_predicate = is_site_preference_set(section="auth", pref="allow_password_change")
    rules.add_perm("core.can_change_password", can_change_password_predicate)
    # django-invitations
    invite_enabled_predicate = is_site_preference_set(section="auth", pref="invite_enabled")
    rules.add_perm("core.invite_enabled", invite_enabled_predicate)
    # OAuth2 permissions
    create_oauthapplication_predicate = has_person & has_global_perm("core.add_oauthapplication")
    rules.add_perm("core.create_oauthapplication_rule", create_oauthapplication_predicate)
    ......
    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