Mono Support Permissions 

Viewed 10959 time(s), 4 post(s), 9/10/2014 6:43:06 PM - by Samtg
9/10/2014 6:50:32 PM
440 Reputation 38 Total posts

If we want to set permissions on certain urls, how would you change it to only friends (not just any users)?  Also, are there permissions to web controls that can be set up?

1
9/11/2014 9:42:13 AM
2218 Reputation 300 Total posts

If we want to set permissions on certain urls, how would you change it to only friends (not just any users)?
MonoX doesn't support this out of the box. This would require you to implement custom security checks on your pages. Please let us know if you require a few ideas on how to implement this.

Also, are there permissions to web controls that can be set up?
You can set view permissions on certain roles.

Regards,
Mario

2
9/11/2014 6:15:29 PM
440 Reputation 38 Total posts

Yeah, that would be good.  Any ideas would be great.

3
9/12/2014 9:13:31 AM
2218 Reputation 300 Total posts

Hello,

Yeah, that would be good.  Any ideas would be great.
I recommend that you create a new BasePage and inherit MonoX's own BasePage then override AllowAccess method and insert your custom logic in there. Example:

protected override bool AllowAccess()
{
    bool allowAccess = base.AllowAccess();
     // custom logic goes here
    return allowAccess;
}
Regards,
Mario

4
This is a demo site for MonoX. Please visit Mono Software for more info.