BO CheckSecurity Event


Author
Message
Scott
Scott
StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
The documentation says that the event has an actionrequested, allowed and a businessobject for the checksecurityeventargs.  All I see is permissioninfo and permissionkey, am I looking at the incorrect event?

Scott

Scott
Scott
StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
Scott (10/30/2006)
The documentation says that the event has an actionrequested, allowed and a businessobject for the checksecurityeventargs.  All I see is permissioninfo and permissionkey, am I looking at the incorrect event?

Scott

Scott

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This event has changed with the advent of the Role-Based Security.  If you are looking in the StrataFrame Help documentation, we need to update this...sorry Blush  Everything is now Permission based ... if you look in the Security Help you should find your updated event docs.
Scott
Scott
StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
We didn't purchase the security module.  Will I still be able to implement a similiar type of security thru the checksecurityevent with out purchasing the security module?

Basically all I want to do is be able to determine if a record should be allowed to be edited.  If the printed property is true then I do not want to all the user to edit this record.  Similar situations if a record is older then 7 days.  Any guidence would be appreciated.

Thanks

Scott

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, all of the security hooks are still throughout the framework.  In fact, the security module just plugs the security into the application through those hooks.  So, yes, all you have to do is handle the CheckSecurity event to determine whether a record can be edited and the CheckFieldSecurity event to determine whether specific fields can be edited.

Also, if you want to implement your own system for determining permissions and/or roles, then you can create an object that implements the ISecurityUser interface and you can place that object in the SecurityBasics.CurrentUser property to take advantage of even more of the security hooks through the GetPermission() method of the ISecurityUser interface.  The framework will query that object whenever it needs to check security and you can return the appropriate value.

Scott
Scott
StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
Thanks.

On an off note have you every seen the text in richtextboxes start typing in reverse?  "This" would type like "sihT" and the cursor doesn't move from the left margin.  Every time I hit the space key it take me to the start of the line.  This is also happening for text boxes.  I know I did something wrong but I can't fix it if I don't know what I did.

I have also closed and reopened VS.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I haven't heard of this before...the only thing I can think of is that some "rightToLeft" property has been set.  This property exists for languages who go backwards Smile  This is definitely nothing StrataFrame specific, but I know that .NET has support for this type of functionality.

The first thing I would look at is the RightToLeft property.

Scott
Scott
StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K

Thanks, that was the first thing that poped into my head also, but unfortunately it is set correctly.  Today is one of those days that I really dislike .NET!!!!!Angry
Scott
Scott
StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)StrataFrame User (198 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
One of the guys here figured it out.  Want to have some fun.....  set the left and right trim option on a bo's property, link it to the rtf control and type away.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Really!!! Laugh  I guess that is good to know.  Never right trim and left trim a string and bind that property to a control....got it Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search