Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1738

Data role editor modifications can result in duplicate roles being generated.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.2, 7.7.4
    • 7.7.3
    • None
    • None
    • Hide

      Reproduction seems inconsistent, but the below steps have produced an issue more than once. The issue also appears to present different dependent upon the method of opening the data role to edit (double-click versus using the "Edit selected data role" icon).

      Steps to replicate:
      1) create a new role (for example, "testRole")
      2) click finish to save the role
      3) edit the role to adjust permissions (for instance, remove read permissions from a table)
      4) click finish to save the modified role
      5) adjust model in vdb (for instance renaming a child table)
      6) save model
      7) synchronize vdb
      8) edit the role to verify permissions (in testing this showed the correct permissions) and click cancel if correct
      9) edit the role to verify permissions again (this showed different permissions than step 8 in multiple tests)

      Show
      Reproduction seems inconsistent, but the below steps have produced an issue more than once. The issue also appears to present different dependent upon the method of opening the data role to edit (double-click versus using the "Edit selected data role" icon). Steps to replicate: 1) create a new role (for example, "testRole") 2) click finish to save the role 3) edit the role to adjust permissions (for instance, remove read permissions from a table) 4) click finish to save the modified role 5) adjust model in vdb (for instance renaming a child table) 6) save model 7) synchronize vdb 8) edit the role to verify permissions (in testing this showed the correct permissions) and click cancel if correct 9) edit the role to verify permissions again (this showed different permissions than step 8 in multiple tests)

    Description

      Editing the data roles through the VDB data roles editor can result in duplicate roles being generated, or the roles not being saved correctly in the current active copy of the role. Observed effects:
      1) duplicate roles appearing
      2) permissions being reset after VDB synchronization
      3) duplicate roles appearing after attempting to delete a role

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jolee Johnathon Lee
              rhn-support-mshirley Marc Shirley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: