Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Gillett 72 posts 149 karma points
    May 25, 2020 @ 18:42
    Daniel Gillett
    0

    How to Remove the Form Dashboard Section for editors in Umbraco v8

    Hello,

    With the Dashboard changed in version 8, How do I remove the Form section for my Editors using C#. I know how to remove a section and a dashboard, but I don't know how to remove the forms dashboard/section for just the editors.

    None of my code seems to be working.

    cheers, Daniel

  • Marc Goodson 2157 posts 14431 karma points MVP 9x c-trib
    May 31, 2020 @ 09:34
    Marc Goodson
    1

    Hi Daniel

    If you want to remove the entire Forms section AND dashboard for editors, then in the Users section you can 'un-tick' the Forms section checkbox for the editors group.

    But if you are looking to allow editors access to the Forms section, but don't want them to see a dashboard, then it's a bit weird in V8, but you can do so by first 'removing' the dashboard, from Umbraco's collection of dashboards, and then add it back again with different IAccessRules controlling who should see it...

    ... there is an example in the docs for the RedirectUrlManagementDashboard:

    https://our.umbraco.com/Documentation/Extending/Dashboards/#override-an-umbraco-dashboard

    (think the forms one is just called FormsDashboard)

    regards

    Marc

  • Daniel Gillett 72 posts 149 karma points
    Jun 09, 2020 @ 15:46
    Daniel Gillett
    0

    Thanks Mark!

    That was helpful. In the end I removed the forms from the Editors group.

    I spent a long time trying to work with the Umbraco API from trying to do this. Is there another source for learning/understanding the backend in umbraco?

    Many thanks, Daniel

  • Bo Jacobsen 608 posts 2406 karma points
    Jun 09, 2020 @ 15:58
    Bo Jacobsen
    0

    Hi Daniel.

    The documentation on Umbraco has been alot better, then it used to be.

    So you can always try to look up https://our.umbraco.com/documentation/, but i normally ends up on google anyway, that find me the result i need in https://our.umbraco.com/documentation/ :)

    You can see user detailts here https://our.umbraco.com/documentation/getting-started/data/Users/

Please Sign in or register to post replies

Write your reply to:

Draft