Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-1947

Security authorizations for GUI - administrativeStatus do not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 (Newton)
    • Fix Version/s: 3.1 (Sinan)
    • Component/s: None
    • Labels:
      None

      Description

      I'm trying to restrict user permission to be able to set administrative status. This does not work (gui field is still read only):

          <authorization>
              <action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read</action>
              <object>
                  <type>UserType</type>
                  <filter>
                      <q:or>
                          <q:equal>
                              <q:path>employeeType</q:path>
                              <q:value>employee</q:value>
                          </q:equal>
      		</q:or>
                  </filter>
              </object>
          </authorization>
      
          <authorization>
              <action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#modify</action>
              <object>
                  <type>UserType</type>
                  <filter>
                      <q:or>
                          <q:equal>
                              <q:path>employeeType</q:path>
                              <q:value>employee</q:value>
                          </q:equal>
      		</q:or>
                  </filter>
              </object>
              <item>c:credentials/c:password</item>
              <item>c:credentials/c:password/c:value</item>
      
      <item>c:activation/c:administrativeStatus</item>
      <item>c:activation/c:administrativeStatus/c:value</item>
      <item>activation/administrativeStatus</item>
          </authorization>
      

        Attachments

          Activity

            People

            Assignee:
            vix Ivan Noris
            Reporter:
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: