grouper-users - Re: [grouper-users] Unix-like Group IDs?
Subject: Grouper Users - Open Discussion List
List archive
- From: "GW Brown, Information Systems and Computing" <>
- To: , Grouper Users Mailing List <>
- Subject: Re: [grouper-users] Unix-like Group IDs?
- Date: Tue, 10 Mar 2009 09:31:21 +0000
Hi Loris,
Comments below.
Gary
--On 10 March 2009 08:54 +0000 "Dr. Loris Bennett" <> wrote:
Hi,I imagine this should be done by hooks. Perhaps the GroupAttributeNameValidationHook could have a pluggable mechanism where regex is just one of the options
I am planning to introduce unix-like group IDs for some groups within
grouper. Currently I have:
- A custom type with a group ID as an attribute
- A database sequence for the IDs
- A hook which inserts an ID from the sequence when a group is created
with the corresponding custom type.
What I still need are:
- A mechanism to ensure that an ID is not used more than once (e.g. some
sort of DB constraint on the attribute value)
- A mechanism to prevent the ID being changed (probably just setting the
write privilege accordingly)
- Perhaps a view of display names and group IDsWould you want the unix id to always be shown when the group is or in some specific context?
The way group names are displayed isn't as tidy as it could/should be, but is something that could be improved
I'm sure others intend to use groups similarly but I don't know if they have hooks to implement the constraints
Since it seems to me that this is a rather general feature that others
might require, I was wondering whether:
a) anyone has already done this
b) whether, should there be interest, such a feature could be packagedI think that would be a good idea as it should be a common requirement. The means of obtaining a new id should be abstract so sites can implement their own mechanism.
as an add-on for grouper
Thoughts?
Loris
--
Dr. Loris Bennett (Mr.)
Freie Universität Berlin
ZEDAT - Zentraleinrichtung für Datenverarbeitung / Computer Center
Compute & Media Service
Fabeckstr. 32, Room 221
D-14195 Berlin
Tel ++49 30 838 51024
Fax ++49 30 838 56721
Web www.zedat.fu-berlin.de
----------------------
GW Brown, Information Systems and Computing
- Unix-like Group IDs?, Dr. Loris Bennett, 03/10/2009
- Re: [grouper-users] Unix-like Group IDs?, GW Brown, Information Systems and Computing, 03/10/2009
- Re: [grouper-users] Unix-like Group IDs?, Loris Bennett, 03/13/2009
- Re: [grouper-users] Unix-like Group IDs?, GW Brown, Information Systems and Computing, 03/13/2009
- RE: [grouper-users] Unix-like Group IDs?, Chris Hyzer, 03/13/2009
- Re: [grouper-users] Unix-like Group IDs?, GW Brown, Information Systems and Computing, 03/13/2009
- Re: [grouper-users] Unix-like Group IDs?, Loris Bennett, 03/13/2009
- RE: [grouper-users] Unix-like Group IDs?, Chris Hyzer, 03/10/2009
- RE: [grouper-users] Unix-like Group IDs?, Dr. Loris Bennett, 03/10/2009
- RE: [grouper-users] Unix-like Group IDs?, Chris Hyzer, 03/10/2009
- RE: [grouper-users] Unix-like Group IDs?, Dr. Loris Bennett, 03/11/2009
- RE: [grouper-users] Unix-like Group IDs?, Chris Hyzer, 03/10/2009
- RE: [grouper-users] Unix-like Group IDs?, Dr. Loris Bennett, 03/10/2009
- Re: [grouper-users] Unix-like Group IDs?, Tom Barton, 03/10/2009
- Re: [grouper-users] Unix-like Group IDs?, Dr. Loris Bennett, 03/11/2009
- Re: [grouper-users] Unix-like Group IDs?, Tom Barton, 03/11/2009
- Re: [grouper-users] Unix-like Group IDs?, Dr. Loris Bennett, 03/11/2009
- Re: [grouper-users] Unix-like Group IDs?, GW Brown, Information Systems and Computing, 03/10/2009
Archive powered by MHonArc 2.6.16.