Steps to reproduce
- Restrict any app to a specific user group.
- Delete the user group in the user management.
- The restricted-to list of the app still contains the non-existant group.
Expected behaviour
- The app's restricted-to list should no longer contain a non-existant usergroup.
- If it was the last group in the restricted-to list, then probably the app should be deactivated. (I was thinking about that for a while, but so far no better solution came to my mind.)
Actual behaviour
When installing a Nextcloud app, it is possible to restrict it to certain user groups. Yet after a group ceases to exit (=deleted in user management), the non-existant usergroup still appears in the restricted-to list of that app.
Server configuration
Operating system: Ubuntu (Shared hosting)
Web server: Apache
Database: MySQL
PHP version: 7.3
Nextcloud version: NC 16.0.1
Updated from an older Nextcloud/ownCloud or fresh install: upgrades since 12.x
Where did you install Nextcloud from: web installer
Steps to reproduce
Expected behaviour
Actual behaviour
When installing a Nextcloud app, it is possible to restrict it to certain user groups. Yet after a group ceases to exit (=deleted in user management), the non-existant usergroup still appears in the restricted-to list of that app.
Server configuration
Operating system: Ubuntu (Shared hosting)
Web server: Apache
Database: MySQL
PHP version: 7.3
Nextcloud version: NC 16.0.1
Updated from an older Nextcloud/ownCloud or fresh install: upgrades since 12.x
Where did you install Nextcloud from: web installer