#8348 Allow managed permissions with ldap:///self bind rule
Closed: fixed 5 years ago by abbra. Opened 5 years ago by cheimes.

Request for enhancement

The managed permission feature makes it really easy to create or update permissions in a plugin. Without managed permissions every change to a permission requires a carefully written remove:aci: and add:aci: line in ldap update file.

In IPA 4.8.6 and earlier managed permissions are restricted. Managed permision's ipapermbindruletype only allows all, anonymous, or permission. There is no way to create a managed permission that allows self-service permission with userdn = ldap:///self. The feature is easy to implement and would simplify external plugin code like
https://github.com/fedora-infra/freeipa-fas/pull/107/files.


Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/4726

5 years ago

In particular it so a plugin can provide its own self-service ACIs without providing aci's via an update file:

 "System: Self-Modify FAS user attributes": {
     "replaces_global_anonymous_aci": True,
     "ipapermright": {"write"},
     "ipapermtargetfilter": ["(objectclass=fasuser)"],
     "ipapermbindruletype": "self",
     "ipapermdefaultattr": fas_user_attributes.copy(),
 },

master:

  • 9dda004 Allow permissions with 'self' bindruletype

ipa-4-8:

  • f2caafb Allow permissions with 'self' bindruletype

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Metadata Update from @abbra:
- Custom field changelog adjusted to Managed permissions can now address self-service operations. This makes possible for 3rd-party plugins to supply full set of managed permissions.
- Issue assigned to cheimes

5 years ago

Log in to comment on this ticket.

Metadata