nextcloud / nextcloud/approval
Users or Groups are not visible when "Restrict users to only share with users in their groups" is enabled
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 10
- Avg merge
- 20m
- Merged PRs (30d)
- 4
Description
approval app version:v1.0.7-2-nightly
nextcloud version: 22.1.1
Hello,
if option "Restrict users to only share with users in their groups" is enabled, the administrator cannot add other users or groups in "Who can request approval" or "Who can approve", only themselves and their Admin group.
Also if option "Allow username autocompletion to users within the same groups" is enabled, administrator cannot query all users, but must provide full email to be able to insert user.
I think administrators should be able to query all users and groups when the above options are enabled, so are we probably looking at a bug or are there some other setting?
Potential future feature
This would only apply for future feature where users would be able to add "Approval workflows" themselves and they cannot see all users and groups recommended when typing, but need to enter full name or email. They would only see recommended users from their groups.
Thank you very much!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Approval app with Nextcloud 22.1.1 and the two sharing and username-autocompletion settings enabled. Trace the user and group selection and autocomplete entry points, then verify that administrators can find all users and groups while the reported restrictions remain effective for non-administrators.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authorization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100