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
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.
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?
No. This user is designed to just allow security users, etc. to be setup while maintaining the applications overall security.
The menu item itself does not have to be assigned a permission. When you call the SecurityDialog form this user will be granted permission.
This is definitely another option.