Copied to clipboard

Flag this post as spam?

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


  • Jonas Eriksson 930 posts 1825 karma points
    Jan 23, 2010 @ 20:07
    Jonas Eriksson
    0

    Can I hide some generic properties for some users?

    Some properties are more for the advanced editors, is there a way to hide a property and/or property tab from certain users / groups?

    Thanks

    Jonas

  • Seth Niemuth 275 posts 397 karma points
    Jan 23, 2010 @ 21:24
    Seth Niemuth
    1

    There is no way to set permissions on individual properties or property tabs. I would recommend creating different document types if you think that you would need different properties on some page than others, or you didn't want to give certain people access to change stuff.

  • Jonas Eriksson 930 posts 1825 karma points
    Jan 24, 2010 @ 13:28
    Jonas Eriksson
    0

    Ok, thanks Seth. I wanted to have different permissions on one and the same document type. For example SEO keywords and description should only be visible to the admins and editors, not the writers.

    Could this be done with a new data type? Or perhaps even easier with some event handler, setting properties visible=false for some users?

     

  • Seth Niemuth 275 posts 397 karma points
    Jan 24, 2010 @ 17:37
    Seth Niemuth
    1

    I would say that you could just put them in a new tab and put descriptions that say something, to the effect of: "If you are not sure what these are for, then please dont insert anything"...because then again, your editors/admins are going to be approving the page before it is published anyway. 

    However, if you really want to do this: Yeah, I am guessing this could be done with a new data type. You would just check in the new data type if the user was a 'writer' and if so, then don't show the info. 

    On action handler, I dont see an action for just viewing in the list as the only way, i could see doing it with action handler is everytime a page/node is opened in content, you check the user and if it is a writer, then hide it: http://umbraco.org/apiDocs/html/N_umbraco_BusinessLogic_Actions.htm (api)

     

    http://umbraco.org/documentation/books/creating-and-using-an-action-handler/supported-actions (umbraco doc about action handler)

  • Jonas Eriksson 930 posts 1825 karma points
    Jan 25, 2010 @ 08:29
    Jonas Eriksson
    0

    Primary reason for this was to reduce clutter for the writers, I have put the properties on a tab named "advanced" and that will have to due for now. If I have the inspiration and time I will try the action handler - way. Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies