Re: RFC: roles - Mailing list pgadmin-hackers

From Dave Page
Subject Re: RFC: roles
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9699@ratbert.vale-housing.co.uk
Whole thread Raw
In response to RFC: roles  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: RFC: roles  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-hackers

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 01 August 2005 14:56
> To: Dave Page
> Cc: pgadmin-hackers
> Subject: Re: [pgadmin-hackers] RFC: roles
>
>
> So we have:
> - Groups/Roles and Users as object collection
> - Users will contain all roles with LOGIN
> - Groups/Roles the rest

Hmm, I'd only been thinking about the security tabs so far. I'd be
inclined to have just

Roles
  -> Role 1
  -> Role 2

in the treeview, and not try to make any distinction between 'users' and
'groups' at that level. The server doesn't, so we probably shouldn't
either. I suppose we could use a modified icon for those with LOGIN, for
convenience though, but I definately think there should be only Roles at
the top. (BTW, the icons for Roles/Role are already done, so just use a
placeholder for now).

Grouping as well as Icons could be used in the combo boxes, but even
then, I'm not sure grouping is required.

BTW, do you plan to keep the 'Display users as well as groups for
security' setting? I think we should, but obviously translated to mean
include LOGIN roles with other ROLES.

> - Both will use common dlgRole dialog, with different checkbox
settings for LOGIN

Yes.

> - NOLOGIN roles (in Groups/Roles) have the group icon
> - LOGIN roles without kids (pure users) have user icon
> - LOGIN roles with kids ('role-user') have group icon

See above :-)

> - Guru hint "bad practice" if a LOGIN role is used as role parent

Sounds good.

Regards, Dave

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: RFC: roles
Next
From: Andreas Pflug
Date:
Subject: Re: RFC: roles