Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-1864

When removing the last user with ManageEverything rights the application crashes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2 M1
    • Fix Version/s: 5.2 M4
    • Component/s: Security / Rights
    • Environment:
      Latest build on branch

      Description

      In the security management tab remove all users until a last one (the one which actually performs the operation) is remaining with ManageEverything rights. Trying to auto-remove the rights leads to an exception:
      org.nuxeo.ecm.core.api.ClientException
      org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.api.ClientException. message: Could not find Stateful bean: 3j011-udoxv0-f9zgfoo1-1-f9zhoxb7-kd
      org.nuxeo.ecm.platform.ui.web.shield.NuxeoErrorInterceptor.invokeAndWrapExceptions(NuxeoErrorInterceptor.java:94)

      and the navigation doesn't work anymore. Only way to continue the session is to go to a coded link in the address bar.
      I suppose the cleaner way would be to have a warning that this isn't possible and deny the action (if indeed this is the wanted way of work).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: