Page 1 of 1

users, groups and permissionsof

PostPosted:Tue Jul 08, 2008 6:28 am
by mikegilligan
Hi

I\'d like to set up OpenKM so that two different groups of people have access only to their folders and subfolders. Call them group A and group B. Group A should not have access to group B\'s documentation and vice versa. However both Groups have full RW access to their own folders. I\'ve not been able to find any resources that describe how to do this. Can someone help?

Thanks.

M.

Re:users, groups and permissionsof

PostPosted:Tue Jul 08, 2008 6:55 am
by tidus2728
Hi,

What you need to do is open the file openkm-roles.properties and add group roles per user. Example:

user1=UserRol,GroupA
user2=UserRol,GroupB
user3=UserRol,GroupA
user4=UserRol,GroupB

Then login to OpenKM as \"system\" and create two folders, one for Group A and one for Group B. Then select Group A folder. Go to the security pane and update the security settings for that folder. Go to the Groups tab and remove UserRol and add GroupA with read-write capabilities. Then do the same process for Group B but the group security should be set to GroupB.

Then login as one of the users in a group and check if the security restrictions apply.

Re:users, groups and permissionsof

PostPosted:Tue Jul 08, 2008 10:34 am
by mikegilligan
Thanks for your reply. That worked perfectly.

Re:users, groups and permissionsof

PostPosted:Fri Aug 01, 2008 10:26 pm
by bytesemantics
Completely new to this product - and first post - so be gentle. ;-)

From a quick scan of the forum - I get that there are multiple integration possibilities for user config.

Is there any way of programmatically adding new users, new roles and user role memberships ?

i.e. if I have a web front end with some kind of user registration/subscription capability - how can I configure this new user into the system with some required roles ?

I\'ve scanned the WebServices documentation and see no APIs available for this ?

Can anyone give me some pointers ?

Thanks in advance
Paul

Re:users, groups and permissionsof

PostPosted:Sun Aug 03, 2008 8:09 pm
by pavila
You can configure database authentification in JBoss using JAAS and directly modify the table registers.