Project

General

Profile

Bug #7787

Allow limiting the content types associated to manager roles, add a global manager role like ou scoped manager roles

Added by Benjamin Dauvergne over 5 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
06 Jul 2015
Due date:
% Done:

100%

Estimated time:
Patch proposed:
No
Planning:

Description

  • New setting A2_RBAC_MANAGED_CONTENT_TYPES
  • Create manager roles only for listed content types

Related issues

Related to Publik - Bug #7767: Cacher "Applications" dans AuthenticFermé03 Jul 2015

Actions
Related to Publik - Bug #7768: Cacher "Entités" dans Authentic quand il n'y en a qu'uneFermé03 Jul 2015

Actions
Related to Publik - Project management #7773: Changements interfaces du /manage d'AuthenticFermé06 Jul 201518 Sep 2015

Actions
Copied from Hobo - Bug #7770: Dans l'agent authentic2 créer un rôle AdministrateurRejeté03 Jul 2015

Actions

Associated revisions

Revision 553887fd (diff)
Added by Benjamin Dauvergne over 5 years ago

a2_rbac: allow limiting permissions of OU managers (fixes #7787)

A new setting is added named A2_RBAC_MANAGED_CONTENT_TYPES, it
is a list of pairs of (app, model_name) which specify which object
permissions should be created and associated to the super-user role.

A new global super-user role is also added by this patch.

If A2_RBAC_MANAGED_CONTENT_TYPES is None (the default value), roles
sub-roles are created for each registered contents (currently user,
roles, organizational units, and services). If
A2_RBAC_MANAGED_CONTENT_TYPES is the empty tuple, no role is created
at all.

To limit permissionsto users and roles, set:

A2_RBAC_MANAGED_CONTENT_TYPES = (
('custom_user', 'user'),
('a2_rbac', 'role')
)

Revision 22dff1dd (diff)
Added by Benjamin Dauvergne over 5 years ago

update translations (#7787)

History

#1

Updated by Benjamin Dauvergne over 5 years ago

  • Copied from Bug #7770: Dans l'agent authentic2 créer un rôle Administrateur added
#2

Updated by Benjamin Dauvergne over 5 years ago

  • Related to Bug #7767: Cacher "Applications" dans Authentic added
#3

Updated by Benjamin Dauvergne over 5 years ago

  • Related to Bug #7768: Cacher "Entités" dans Authentic quand il n'y en a qu'une added
#4

Updated by Benjamin Dauvergne over 5 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100
#5

Updated by Benjamin Dauvergne over 5 years ago

#6

Updated by Benjamin Dauvergne about 5 years ago

  • Status changed from Résolu (à déployer) to Solution déployée
#7

Updated by Benjamin Dauvergne about 3 years ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF