StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Security Maintenance UserExpand / Collapse
Author
Message
Posted 10/20/2006 1:54:55 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:36:26 PM
Posts: 371, Visits: 1,869

I’m getting an ‘Access Denied’ error message when trying to login to my application using the built in security maintenance user account. Is there any additional configuration required beyond setting up the user name and password in AppMain? The administrator user works fine.

-Larry

Post #3720
Posted 10/20/2006 2:57:07 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:50:35 PM
Posts: 4,796, Visits: 4,766
The problem you are having is that the user does not explicitly have the permission to the form and your DefaultPermissionInfo property is set to Deny by default.  In your InitApplication() method you can define your DefaultPermissionInfo to grant by default if you prefer.  It would look something like this:

SecurityBasics.DefaultPermissionInfo = New PermissionInfo(PermissionAction.Grant, _
    "Access Denied.", DeniedActions.Message)

You can get more information in the docs under the following section:

Creating a New Application with Security

Go to the very bottom and you will see the Specify Default Security Settings.

Post #3731
Posted 10/20/2006 4:22:18 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:36:26 PM
Posts: 371, Visits: 1,869

I downloaded the latest security documentation and it’s much better than the version that I had been working with, but I’m still not clear one (and more likely more) thing.

 

Is there a way to assign permissions or roles to the built in security maintenance user?  If that user only has access to the security dialog, how do you provide a means to navigate to the application menu that launches the dialog? Is this a situation where you would use a ‘gateway’ form?

 

-Larry

 

Post #3734
Posted 10/20/2006 10:17:06 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:50:35 PM
Posts: 4,796, Visits: 4,766
Is there a way to assign permissions or roles to the built in security maintenance user?

No.  This user is designed to just allow security users, etc. to be setup while maintaining the applications overall security.

If that user only has access to the security dialog, how do you provide a means to navigate to the application menu that launches the dialog?

The menu item itself does not have to be assigned a permission.  When you call the SecurityDialog form this user will be granted permission.

Is this a situation where you would use a ‘gateway’ form?

This is definitely another option.

Post #3745
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 9:43am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.