HomePhabricator
Project-wide sudo policies in Horizon

When @Ryan_Lane first built OpenStackManager and Wikitech, one of the first features he added was an interface to setup project-wide sudo policies via ldap.

Screen Shot 2017-05-30 at 2.53.07 PM.png (1×2 px, 502 KB)

I've basically never thought about it, and assumed that no one was using it. A few months ago various Labs people were discussing sudo policies and it turned out that we all totally misunderstood how they worked, thinking that they derived from Keystone roles rather than from a custom per-project setup. I immediately declared "No one is using this, we should just rip out all that code" and then ran a report to prove my point... and I turned out to be WRONG. There are a whole lot of different custom sudo policies set up in a whole lot of different projects.

So... rather than ripping out the code, I've implemented a new sudo interface that runs in Horizon. [T162097] It is a bit slow, and only slightly easier to use than the old OpenStackManager interface, but it gets us one step closer to moving all PVS user interfaces to Horizon. [T161553]

Screen Shot 2017-05-30 at 2.53.51 PM.png (1×2 px, 498 KB)

For the moment, users can edit the same policies either on Horizon or on Wikitech. If I don't get complaints then I'll remove the UI from wikitech in a few weeks.

Written by Andrew on May 30 2017, 8:02 PM.
User
Projects
None
Subscribers
Ryan_Lane
Tokens
"Like" token, awarded by mmodell.

Event Timeline