Hide elements for specific role or user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • antony
    Junior Member
    • Oct 2017
    • 6

    Hide elements for specific role or user

    I would like to hide some elements for certain users or roles. For example, I would like to hide the action and ceckbox button in the list. If I do this with css it will be hidden for everyone. I do not want this.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    If some action is prohibited for some user in roles, this user will get 403 error.
    If you give me more details, may be I will can direct you

    Comment

    • antony
      Junior Member
      • Oct 2017
      • 6

      #3
      OK,
      I want to hide some elements only for specific users. See Attachment.
      I can use css display none but this hides it for everyone. Can you help me?
      Attached Files

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Users will see this action, but if roles are prohibited this action, users get 403 error
        If you want to remove it, you need to override recordView list (not sure, it will be upgrade save, if you want to do it for all entities)

        Comment

        Working...