enonic / xp-apps

Enonic XP bundled applications.
GNU General Public License v3.0
1 stars 3 forks source link

New user stores missing permissions for user admin #694

Closed aro closed 6 years ago

aro commented 6 years ago

User stores created from the Users app don't get write permissions for the "system.user.admin" role, only for "system.admin".

Now the Graphql request to create user store includes these permissions:

[
  {
    "principal": "role:system.authenticated",
    "access": "READ"
  },
  {
    "principal": "role:system.admin",
    "access": "ADMINISTRATOR"
  }
]

It should also have the "system.user.admin" role:

[
  {
    "principal": "role:system.authenticated",
    "access": "READ"
  },
  {
    "principal": "role:system.admin",
    "access": "ADMINISTRATOR"
  },
  {
    "principal": "system.user.admin",
    "access": "ADMINISTRATOR"
  }
]

This issue was reported in a support case (ticket 2354).

aro commented 6 years ago

It will be fixed in XP project: https://github.com/enonic/xp/issues/6129 Closing this issue.