Uploaded image for project: 'User Directory'
  1. User Directory
  2. UD-116

Without rights, ribbon buttons are still displayed

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • 2.1.0
    • 2.0.0
    • None
    • 4.1RC1
    • 4.1 RC2

      With insufficient rights (in my case I did not have the right on the context "User Directory"), the buttons to create a User and a a new Organizational Unit are available.

      When clicking them, the tool to create is displayed, but on save, I have an error message about rights.

          [UD-116] Without rights, ribbon buttons are still displayed

          Caroline Bayle added a comment - - edited

          You have access to the button because you have right to create such type of content on general context.
          We can not check the right of creation on user directory context, since the content does not exist anymore.

          But when you click on OK button, because the content type has a metadata set of creation, the creation is follow by a edition. This time, the edition will check that you have rights on user directory context. And you don't, so you have the error message.

          The content was successful created but not edited (empty content)

          The error message should be improved to distinguish the 2 cases, but it is very complex so we won't do it.

          Caroline Bayle added a comment - - edited You have access to the button because you have right to create such type of content on general context. We can not check the right of creation on user directory context, since the content does not exist anymore. But when you click on OK button, because the content type has a metadata set of creation, the creation is follow by a edition. This time, the edition will check that you have rights on user directory context. And you don't, so you have the error message. The content was successful created but not edited (empty content) The error message should be improved to distinguish the 2 cases, but it is very complex so we won't do it.

            cbayle Caroline Bayle
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: