Re: [zfs-discuss] Proposal: delegated administration

2006-07-25 Thread Mark Shellenbaum
I would like to make a couple of additions to the proposed model. Permission Sets. Allow the administrator to define a named set of permissions, and then use the name as a permission later on. Permission sets would be evaluated dynamically, so that changing the set definition would cha

Re: [zfs-discuss] Proposal: delegated administration

2006-07-24 Thread Mark Shellenbaum
Darren J Moffat wrote: Mark Shellenbaum wrote: Darren J Moffat wrote: Bill La Forge wrote: I like to think of delegation as being a bit different than granting permision--in fact, as a special permission that may include counts. For example, you might delegate to a manager the ability to gra

Re: [zfs-discuss] Proposal: delegated administration

2006-07-24 Thread Darren J Moffat
Mark Shellenbaum wrote: Darren J Moffat wrote: Bill La Forge wrote: I like to think of delegation as being a bit different than granting permision--in fact, as a special permission that may include counts. For example, you might delegate to a manager the ability to grant select permissions.

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread James Dickens
On 7/18/06, Mark Shellenbaum <[EMAIL PROTECTED]> wrote: Darren J Moffat wrote: > Bill La Forge wrote: >> I like to think of delegation as being a bit different than granting >> permision--in fact, as a special permission that may include counts. >> >> For example, you might delegate to a manager

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Mark Shellenbaum
Darren J Moffat wrote: Bill La Forge wrote: I like to think of delegation as being a bit different than granting permision--in fact, as a special permission that may include counts. For example, you might delegate to a manager the ability to grant select permissions. You may want to limit the

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Darren J Moffat
Bill La Forge wrote: I like to think of delegation as being a bit different than granting permision--in fact, as a special permission that may include counts. For example, you might delegate to a manager the ability to grant select permissions. You may want to limit the number of users the man

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Darren J Moffat
Darren Reed wrote: Then make the removal operation another arg to "allow". Or better yet, use a pair of words where you're not tempted to use bad English, such as "grant" and "revoke", or just use "revoke" anyway? Grant matches what we do with authorisations in RBAC. You grant a user an aut

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Bill La Forge
I like to think of delegation as being a bit different than granting permision--in fact, as a special permission that may include counts. For example, you might delegate to a manager the ability to grant select permissions. You may want to limit the number of users the manager may grant these

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread michael schuster
Jeff Bonwick wrote: PERMISSION GRANTING zfs allow [-l] [-d] <"everyone"|user|group> [,...] \ ... zfs unallow [-r] [-l] [-d] If we're going to use English words, it should be "allow" and "disallow". The problem with 'disallow' is that it implies precluding a behavior that wo

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Darren Reed
Jeff Bonwick wrote: PERMISSION GRANTING zfs allow [-l] [-d] <"everyone"|user|group> [,...] \ ... zfs unallow [-r] [-l] [-d] If we're going to use English words, it should be "allow" and "disallow". The problem with 'disallow' is that it implies precluding a beha

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Jeff Bonwick
> >PERMISSION GRANTING > > > > zfs allow [-l] [-d] <"everyone"|user|group> [,...] \ > >... > > zfs unallow [-r] [-l] [-d] > > > > If we're going to use English words, it should be "allow" and "disallow". The problem with 'disallow' is that it implies precluding a behavior that would no

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Darren Reed
Mark Shellenbaum wrote: Glenn Skinner wrote: The following is a nit-level comment, so I've directed it onl;y to you, rather than to the entire list. Date: Mon, 17 Jul 2006 09:57:35 -0600 From: Mark Shellenbaum <[EMAIL PROTECTED]> Subject: [zfs-discuss] Proposal

Re: [zfs-discuss] Proposal: delegated administration

2006-07-18 Thread Darren Reed
Mark Shellenbaum wrote: The following is the delegated admin model that Matt and I have been working on. At this point we are ready for your feedback on the proposed model. -Mark PERMISSION GRANTING zfs a

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Mark Shellenbaum
James Dickens wrote: On 7/17/06, Mark Shellenbaum <[EMAIL PROTECTED]> wrote: The following is the delegated admin model that Matt and I have been working on. At this point we are ready for your feedback on the proposed model. -Mark PERMISSION GRANTING zfs allow [-l] [-d] <"ever

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Mark Shellenbaum
Glenn Skinner wrote: The following is a nit-level comment, so I've directed it onl;y to you, rather than to the entire list. Date: Mon, 17 Jul 2006 09:57:35 -0600 From: Mark Shellenbaum <[EMAIL PROTECTED]> Subject: [zfs-discuss] Proposal: delegated administration Th

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread James Dickens
On 7/17/06, Mark Shellenbaum <[EMAIL PROTECTED]> wrote: The following is the delegated admin model that Matt and I have been working on. At this point we are ready for your feedback on the proposed model. -Mark PERMISSION GRANTING zfs allow [-l] [-d] <"everyone"|user|group> [,..

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Nicolas Williams
On Mon, Jul 17, 2006 at 10:11:35AM -0700, Matthew Ahrens wrote: > > I want root to create a new filesystem for a new user under > > the /export/home filesystem, but then have that user get the > > right privs via inheritance rather than requiring root to run > > a set of zfs commands. > > In that

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Mark Shellenbaum
Bart Smaalders wrote: Matthew Ahrens wrote: On Mon, Jul 17, 2006 at 10:00:44AM -0700, Bart Smaalders wrote: So as administrator what do I need to do to set /export/home up for users to be able to create their own snapshots, create dependent filesystems (but still mounted underneath their /expor

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Bart Smaalders
Matthew Ahrens wrote: On Mon, Jul 17, 2006 at 10:00:44AM -0700, Bart Smaalders wrote: So as administrator what do I need to do to set /export/home up for users to be able to create their own snapshots, create dependent filesystems (but still mounted underneath their /export/home/usrname)? In ot

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Matthew Ahrens
On Mon, Jul 17, 2006 at 10:00:44AM -0700, Bart Smaalders wrote: > >>So as administrator what do I need to do to set > >>/export/home up for users to be able to create their own > >>snapshots, create dependent filesystems (but still mounted > >>underneath their /export/home/usrname)? > >> > >>In oth

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Mark Shellenbaum
Bart Smaalders wrote: Matthew Ahrens wrote: On Mon, Jul 17, 2006 at 09:44:28AM -0700, Bart Smaalders wrote: Mark Shellenbaum wrote: PERMISSION GRANTING zfs allow -c [,...] -c "Create" means that the permission will be granted (Locally) to the creator on any newly-created descendant file

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Bart Smaalders
Matthew Ahrens wrote: On Mon, Jul 17, 2006 at 09:44:28AM -0700, Bart Smaalders wrote: Mark Shellenbaum wrote: PERMISSION GRANTING zfs allow -c [,...] -c "Create" means that the permission will be granted (Locally) to the creator on any newly-created descendant filesystems. ALLOW EXA

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Matthew Ahrens
On Mon, Jul 17, 2006 at 09:44:28AM -0700, Bart Smaalders wrote: > Mark Shellenbaum wrote: > >PERMISSION GRANTING > > > > zfs allow -c [,...] > > > >-c "Create" means that the permission will be granted (Locally) to the > >creator on any newly-created descendant filesystems. > > > >ALLOW EXAMPL

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Darren J Moffat
Mark Shellenbaum wrote: The following is the delegated admin model that Matt and I have been working on. At this point we are ready for your feedback on the proposed model. Overall this looks really good. I might have some detailed comments after a third reading, but I think it certainly co

Re: [zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Bart Smaalders
Mark Shellenbaum wrote: The following is the delegated admin model that Matt and I have been working on. At this point we are ready for your feedback on the proposed model. -Mark PERMISSION GRANTING zfs al

[zfs-discuss] Proposal: delegated administration

2006-07-17 Thread Mark Shellenbaum
The following is the delegated admin model that Matt and I have been working on. At this point we are ready for your feedback on the proposed model. -Mark PERMISSION GRANTING zfs allow [-l] [-d] <"everyone"|user|group> [,...] \ zfs allow [-l] [-d] -u [,..