Closed lukasrad02 closed 1 year ago
@benn02 our implementation supports selecting and deselecting groups for the two permission levels, both during creation and editing. The permissions are persisted and shown the next time when editing the item.
The UI works as expected. But I think it isn't very intuitive for a user. If I miss click once, I have to reload the form in order to get the old state back. And it is very unclear what happens if I give a user see-permissions and lend-permissions and then revoke the lend-permissions. I think moving the permissions to an extra page, with a searchable list of all groups where I can configure the permissions with radio buttons, would be superior. But I think this is a decision @benn02 has to take.
The UI works as expected. But I think it isn't very intuitive for a user. If I miss click once, I have to reload the form in order to get the old state back. And it is very unclear what happens if I give a user see-permissions and lend-permissions and then revoke the lend-permissions. I think moving the permissions to an extra page, with a searchable list of all groups where I can configure the permissions with radio buttons, would be superior. But I think this is a decision @benn02 has to take.
As Mentioned in the Issue, I want this to get done. I think the proposed solution by @Sohn123 is better, but it is up to you whether you want to rework this since I am also fine with the current version
The UI works as expected. But I think it isn't very intuitive for a user. If I miss click once, I have to reload the form in order to get the old state back. And it is very unclear what happens if I give a user see-permissions and lend-permissions and then revoke the lend-permissions. I think moving the permissions to an extra page, with a searchable list of all groups where I can configure the permissions with radio buttons, would be superior. But I think this is a decision @benn02 has to take.
As Mentioned in the Issue, I want this to get done. I think the proposed solution by @Sohn123 is better, but it is up to you whether you want to rework this since I am also fine with the current version
We can also create a follow up issue, if you really want to get this done quickly. Lukas and I already spend our weekly time on this, so this probably won't be rewritten till next week.
Ok if @benn02 says this is fine, then :shipit:
This PR adds ui elements to the new and edit pages of each item to define which group(s) can see and which one(s) can lend this item.
PR checklist