Fork me on GitHub

#1 2012-03-23 13:41:15

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 730
Website

[FIXED] Privilege based ACL rules

Hey everyone,

as discussed over at http://forums.lars-sh.de/viewtopic.php?pid=734#p734 , it might be handy to be able to use ACL rules based on privileges. As such I'd committed (revision 7451) a change to our kernel code allowing exactly this. There's no UI integration for now, but I hope s0600204 will work at it in time?!

Some notes about the xml structure:

The type is just called "privilege" and there are three different targetnames:

  • "admin" specifying all administrators (not root users!)

  • "maintainer" specifying all maintainers

  • "user" specifying all users that are not root, admin or maintainer.

Do you have any further idea for this?


Best regards,
Lars Knickrehm

The oneye project.

Offline

#2 2012-03-23 17:07:47

s0600204
Member
From: UK
Registered: 2012-01-22
Posts: 118
Website

Re: [FIXED] Privilege based ACL rules

Okay Lars, I've put together a tentative implementation of the UI. I haven't committed it to 1.9, just to my playground area.

When the 'Privileges' option is selected, root is presented with a select box from which to select the targetnames from, rather than a textbox to write one into.

If you and anybody else would like to try it out and say if it needs altering in some way...

You can download the .tar.gz from http://eyeos.svn.sourceforge.net/viewvc … /?view=tar (it replaces apps/eyeControl)

Offline

#3 2012-03-23 17:54:55

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 730
Website

Re: [FIXED] Privilege based ACL rules

Thanks. Just tested it. Seems to be fine. No problem found...


Best regards,
Lars Knickrehm

The oneye project.

Offline

#4 2012-04-08 13:29:52

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 730
Website

Re: [FIXED] Privilege based ACL rules

Landed on SVN -> marked as [FIXED] smile


Best regards,
Lars Knickrehm

The oneye project.

Offline

Board footer

Powered by FluxBB