All of lore.kernel.org
 help / color / mirror / Atom feed
* Mapping LDAP group to user roles
@ 2018-08-21 12:13 Tom Joseph
  2018-08-21 15:21 ` Tanous, Ed
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Joseph @ 2018-08-21 12:13 UTC (permalink / raw)
  To: OpenBMC Maillist

Hello,

We have a requirement to assign role to the LDAP users, so certain 
operations can be restricted for users without admin permissions.

The proposal is to assign role for the LDAP groups. The LDAP user will 
inherit the role assigned to the LDAP group.
To start off the plan is to have two roles, the admin role and the user 
role. The role will be consumed by the
phosphor-rest-server and screen the REST api based on HTTP verbs.The 
user role will permit only REST API's with GET verb.
The admin role will permit all the HTTP verbs.

With this in background, i am proposing a D-Bus API to implement the 
LDAP group to role mapping. The CreateGroupRole method
can be used to create a mapping between the LDAP group and the role. 
This will create the object with the group name like
/xyx/openbmc_project/ldap/<group_name> which will implement the 
GroupEntry interface that has the role attribute.

Let me know the thoughts about this proposal.

https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-dbus-interfaces/+/12027/

Regards,
Tom

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-29 17:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-21 12:13 Mapping LDAP group to user roles Tom Joseph
2018-08-21 15:21 ` Tanous, Ed
2018-08-23 13:20   ` Tom Joseph
2018-08-23 16:29     ` Tanous, Ed
2018-08-28 14:55       ` Tom Joseph
2018-08-28 15:42         ` Thomaiyar, Richard Marian
2018-08-29 11:51           ` Ratan Gupta
2018-08-29 17:13             ` Thomaiyar, Richard Marian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.