Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4176

[Atlas: Read type auth] When un-authorised user creates a sub type, incorrect error message is thrown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: atlas-core
    • Labels:
      None

      Description

      hrt_20 is an unauthorised_user

      When hrt_20 tries to create an entity_type sub_entity_1 with super_type as "entity_1" the following is thrown

      hrt_20 is not authorized to perform create entity-def sub_entity_1 

      Expectation:

      hrt_20 is not authorized to perform read type-def of category ENTITY entity_1 

       

      NOTE:

      This happens only for entity type and not for classification.

      When creating a classification sub_class_1 with super_type as class_1 the following exception is thrown, which is correct

      hrt_20 is not authorized to perform read type-def of category CLASSIFICATION class_1 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chaitali chaitali borole
                Reporter:
                dharshmk Dharshana M Krishnamoorthy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: