Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I would like to hide the Redirect URL Management tab from my clients. Any idea how to go about it in V8?
If I read the code correct, dashboards are now setup via DI. This means that you would have to register your own version of the dashboard (and remove the original) in order for you to change how it is setup.
The dashboard is defined here: https://github.com/umbraco/Umbraco-CMS/blob/dev-v8/src/Umbraco.Web/Dashboards/RedirectUrlDashboard.cs
In your composer, you would then:
@Søren Gregersen, that would remove the dashboard for everyone, would it not? The OP needed to hide it from one user group: Editors.
I have the same problem as the OP.
I created an issue:
You remove the default, replace with your own version with the new permissions :-)
The my-version would be something like:
public class MyRedirectUrlDashboard : IDashboard
public new IAccessRule AccessRules => Array.Empty<IAccessRule>();
It would need to implement a new accesrule
Thanks for the swift reply, @Søren Gregersen. Now I get what you were saying in your original reply.
Wow, this is ridiculous on several levels! First, why are writers being shown an administrator's dashboard in the first place, necessitating my "hiding" it?! Second, in v7, all this took was:
<tab caption="Get Started"> ...
Now, I have to go deep into code--to fix an Umbraco bug--with some hackaround of remove-it-and-it-add back? Ugh.
Will doing so affect our many existing URL redirects?
Managing urls is a content editor job :-)
Our users in the writer role have different Content start nodes; yet, the Redirect URL Management allows them to edit rules affecting pages outside of the content they should have access to.
Umbraco should not give global Redirect URL Management to restricted users.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted