DNNCommunity / DNNCommunity/DNN.Links
GrantRoles table in edit Links
- Dominant language
- C#
- Stars
- 9
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
## 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;
}
```
Contributor guide
Research direction
EditLinks.ascx.cs and its Page_Load are named in the issue; start there by checking how UsePermissions is read and how plGrantRoles and cblGrantRoles are rendered. Done means the GrantRoles table is not visible on the EditLink page when UsePermissions is false, while it remains available when permissions are enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 30/100