Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GrantRoles table in edit Links #47

Open
giovaboy opened this issue Apr 23, 2020 · 1 comment
Open

GrantRoles table in edit Links #47

giovaboy opened this issue Apr 23, 2020 · 1 comment

Comments

@giovaboy
Copy link

Is your feature request related to a problem?

With the module in 'link' mode, if the main setting UsePermissions is setted to false, the EditLink page should not display the user role table, confusing users.

Describe the solution you'd like

If UsePermissions is false, then the GrantRoles table should not be visible.
This code in the Page_Load of EditLinks.ascx.cs will make it

if (System.Convert.ToBoolean(Settings[Dnn.Links.SettingName.UsePermissions]) == false) {
  plGrantRoles.Visible = false;
  cblGrantRoles.Visible = false;
}
@valadas
Copy link
Member

valadas commented Feb 2, 2021

Can you submit a pull request...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants