[Beaker-devel] New sub-command to list access policy for a system

Amit Saha asaha at redhat.com
Mon Dec 2 01:45:04 UTC 2013



----- Original Message -----
> From: "Amit Saha" <asaha at redhat.com>
> To: "Beaker development" <beaker-devel at lists.fedorahosted.org>
> Sent: Thursday, October 3, 2013 2:50:31 PM
> Subject: Re: [Beaker-devel] New sub-command to list access	policy	for	a	system
> 
> 
> 
> ----- Original Message -----
> > From: "Nick Coghlan" <ncoghlan at redhat.com>
> > To: beaker-devel at lists.fedorahosted.org
> > Sent: Thursday, October 3, 2013 1:31:26 PM
> > Subject: Re: [Beaker-devel] New sub-command to list access policy	for	a
> > 	system
> > 
> > On 10/03/2013 01:29 PM, Nick Coghlan wrote:
> > > On 10/03/2013 01:10 PM, Amit Saha wrote:
> > >> Did you mean "show what permissions I have for this system?" If so,
> > >> how about adding a '--mine' switch to the list-policy subcommand?
> > > 
> > > I like it. Not only would that show what permissions the user has
> > > (anything listed in the permissions column), but also *how* they're
> > > acquiring them.
> > > 
> > > Hmm, for admin purposes similar filtering for arbitrary users and groups
> > > could be helpful.
> > 
> > I forgot to say - still worth making that a separate patch so it can be
> > reviewed separately from the base command.
> 
> Yes, that was my thought too. Filed a bz [1] to track it.
> Please add a comment if the suggested use cases and interface
> needs  modifications.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1014899

Uploaded a patch here [1]. As of now, only one filtering criteria is allowed. 

[1] http://gerrit.beaker-project.org/#/c/2573/

Best,
Amit.


-- 
Amit Saha <http://echorand.me>
Software Engineering and Development
Red Hat, Inc.


More information about the Beaker-devel mailing list