Security Maintenance User


Author
Message
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
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.

Larry Caylor
Larry Caylor
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

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 moreWink) 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

 

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
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.


Larry Caylor
Larry Caylor
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

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

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