Form Level security


Author
Message
Paul Chase
Paul Chase
Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
I am just starting to play around with this and cannot seem to get form level security to work. (I havent tried to secure anything else).

I have a user named testuser;have a role called test rolehave a persmision called SalesPerson it does not allow read only

I have the test role DENIED for this permision.

I set the form view security key to this permission and the test user can still do anything he wants to the on the form. Here are some pictures.. I am not sure where I am going wrong.. Shouldn't be rocket science so most likely it is something stupid.


Replies
Paul Chase
Paul Chase
Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
Never mind it is

Console.WriteLine(SecurityBasics.CurrentUser.GetPermission("Salesperson").Action)

and I get a grant permision


Paul Chase
Paul Chase
Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
I think im on to it..
Paul Chase
Paul Chase
Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
Ben,

I have it working properly now. I am not sure exactly where it got messed up but I originally assigned the test user to the wrong role. I fixed that and redeployed the data but for  whatever reason he was still assigned to the manager role on the local data and thus had access to the salesperson form. Redploying using DDT did not seem to change this on the local security tables. To verify I added a new user and redployed and the new user did exist in the local tables. I ended up droppping the local table and redeploying and everything works as advertised.

P

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Well, I am glad that you got it going Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Paul Chase - 19 Years Ago
StrataFrame Team - 19 Years Ago
Paul Chase - 19 Years Ago
                 Oh, sorry......
StrataFrame Team - 19 Years Ago
                 Never mind it is...
Paul Chase - 19 Years Ago
                     I think im on to it..
Paul Chase - 19 Years Ago
                         Ben, I have it working properly now. I am not sure exactly where it...
Paul Chase - 19 Years Ago
                             Well, I am glad that you got it going :)
Trent L. Taylor - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search