Priviliges of groups

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

Priviliges of groups

Postby tweetie » Mon Jun 21, 2004 3:51 pm

Is there a way to check what the priviliges of the group of the user are via a method??

What I want to know is: if user A belongs to Group X....what are the priviliges of Group X on table Z.

Any suggestions?
User avatar
tweetie
 
Posts: 345
Joined: Thu Jan 08, 2004 11:32 am
Location: Rotterdam, Netherlands

Postby Jan Blok » Thu Jun 24, 2004 12:14 pm

see the javascript security node in the editor
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby tweetie » Thu Jun 24, 2004 2:01 pm

I must be missing sumhting....
I can't see anything in the security-node that would get me the priviliges of a user in a group concerning a certain table....
I only see getgroups, make groups, make users etc
User avatar
tweetie
 
Posts: 345
Joined: Thu Jan 08, 2004 11:32 am
Location: Rotterdam, Netherlands

Postby patrick » Thu Jun 24, 2004 2:13 pm

As far as I know you have no possibilities of getting the specific privileges on a table, column, form or whatever.
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby pbakker » Thu Jun 24, 2004 2:21 pm

Patrick is right, those things cannot be found, except through the Security form in Developer.

(or you should start to poke around in the Servoy tables, analyse their structure, figure out some way to extract the data and feed it back to the Servoy clients, but I guess that goes a bit beond the point... :D )

I think there are feature request outstanding to enable the security form in the Client. I, at one time, asked to have additional; SecurityNode features, so we could build our own Security Management into the client, offering features to SuperUsers to alter profiles and such.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: Priviliges of groups

Postby Jan Blok » Mon Jun 28, 2004 9:33 am

tweetie wrote:What I want to know is: if user A belongs to Group X....

possible with: security.getUserGroups()
tweetie wrote:what are the priviliges of Group X on table Z.

This is not possible currently but could be added, what whould be the use of that info?
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to How To

Who is online

Users browsing this forum: No registered users and 9 guests