Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-10905

Hidden inherited attributes are cleared when user doesn't have permissions

XMLWordPrintable

      Issue Summary

      Hidden inherited attributes are cleared when user doesn't have permissions. This is a follow up of ICS-1863 where the bug did not get fixed completely.

      Steps to Reproduce

      1. Create a Parent and Child Object Type with Inheritance on.
      2. Create a hidden attribute on the Parent Object Type
      3. Create a Child Object with the hidden attribute filled in

      4. Create a User that has User permissions for the Schema but Developer permissions for the Child


      5. Log in as user1, and edit the object through the Object View . Only need to make a change on the object's name
        http://{JIRA}:{port}/secure/insight/assets/{Object-Key}

        Issue does not occur if object is edited using the Schema View:

        http://{JIRA}:{port}//secure/ObjectSchema.jspa?id=?&typeId=?&objectId=?
      6. The hidden attribute will not be visible. This is expected as the user doesn't have permissions
      7. Once Edit the object Save
      8. Log in back as an admin user to view all attribute values

      Expected Results

      The hidden attribute remains unchanged

      Actual Results

      The hidden attribute value is deleted
      History view

      Object View

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. Users.png
          Users.png
          168 kB
        2. Schema Permission.png
          Schema Permission.png
          160 kB
        3. Result 2.png
          Result 2.png
          181 kB
        4. Result 1.png
          Result 1.png
          209 kB
        5. Object Type Permission.png
          Object Type Permission.png
          112 kB
        6. Object.png
          Object.png
          178 kB
        7. Edit 1.png
          Edit 1.png
          196 kB
        8. Attribute.png
          Attribute.png
          323 kB

              Unassigned Unassigned
              9f03f4114502 Pablo Bartolome (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: