Syncope
  1. Syncope
  2. SYNCOPE-360

Removing Role mapping from External Resource fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1, 1.2.0
    • Component/s: console
    • Labels:
      None
    • Environment:
      Linux/Tomcat

      Description

      Today I was experimenting with role assignment and tried to map internal ROLE/RoleId to a column in my synchronisation CSVdir resource. While syncing I got an error of Objectclasses not matching so I wanted to remove this relationship by clicking the checkbox in from of it, which succeeded. But after saving the new settings and inspecting the resource role mapping, the old role relation was still there, effectively leaving me with a broken resource. I had to manually remove the role map using my database gui to be able to use the resource again.

        Issue Links

          Activity

          Hide
          Francesco Chicchiriccò added a comment -

          You have got the original failure while trying to sync roles from the CSVDir resource because the CSVDir ConnId connector is only able to manage users, not roles.

          I will try to reproduce the problem you had in the admin console and let you know.

          Show
          Francesco Chicchiriccò added a comment - You have got the original failure while trying to sync roles from the CSVDir resource because the CSVDir ConnId connector is only able to manage users, not roles. I will try to reproduce the problem you had in the admin console and let you know.
          Hide
          Francesco Chicchiriccò added a comment -

          Bug confirmed: I have created SYNCOPE-362 for help users recognize when a given connector can handle role mapping or not.

          Show
          Francesco Chicchiriccò added a comment - Bug confirmed: I have created SYNCOPE-362 for help users recognize when a given connector can handle role mapping or not.
          Show
          Francesco Chicchiriccò added a comment - 1_1_X: http://svn.apache.org/r1469758 trunk: http://svn.apache.org/r1469759
          Hide
          Hudson added a comment -

          Integrated in Syncope-trunk #200 (See https://builds.apache.org/job/Syncope-trunk/200/)
          SYNCOPE-360 Merge from 1_1_X (Revision 1469759)

          Result = SUCCESS
          ilgrosso :
          Files :

          • /syncope/trunk
          • /syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ResourceModalPage.java
          • /syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceMappingPanel.java
          • /syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/ResourceDataBinder.java
          • /syncope/trunk/core/src/test/java/org/apache/syncope/core/persistence/relationships/ResourceTest.java
          • /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ResourceTestITCase.java
          Show
          Hudson added a comment - Integrated in Syncope-trunk #200 (See https://builds.apache.org/job/Syncope-trunk/200/ ) SYNCOPE-360 Merge from 1_1_X (Revision 1469759) Result = SUCCESS ilgrosso : Files : /syncope/trunk /syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ResourceModalPage.java /syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceMappingPanel.java /syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/ResourceDataBinder.java /syncope/trunk/core/src/test/java/org/apache/syncope/core/persistence/relationships/ResourceTest.java /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ResourceTestITCase.java
          Hide
          Francesco Chicchiriccò added a comment -

          Bulk close for 1.1.1

          Show
          Francesco Chicchiriccò added a comment - Bulk close for 1.1.1

            People

            • Assignee:
              Francesco Chicchiriccò
              Reporter:
              Martin van Es
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development