The improvement issue is here
http://jira.codehaus.org/browse/GEOS-4554

I would recommend to keep the file format consistent. Now we have

users.properties
#This is the admnistrator (as well as whoever else has the  
ROLE_ADMINISTRATOR attached)
admin=geoserver,ROLE_ADMINISTRATOR
#These are sample users you may uncomment if you want to test locking  
down wfs (see service.properties)
#wfst=wfst,ROLE_WFS_READ,ROLE_WFS_WRITE
#wfs=wfs,ROLE_WFS_READ
user1a=pwd,ROLE_INDIVIDUAL
user1b=pwd
user2a=pwd
user2b=pwd

I would add
groups.properties
#Format: group name and a comma separated list of users
admins,admin
groupa,user1a,user2a
groupb,user1b,user2b

and
group2roles.properties
#Format: group name and a comma separated list of roles
admins,ROLE_ADMINISTRATOR
groupa,ROLE_WFS_READ,ROLE_WFS_WRITE
groupb,ROLE_WFS_READ

The upgrade path is simple. If the 2 files are not there (in the same  
directory as users.properties), I would generate them with some  
comment lines explaining the format.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to