-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename group display names #9209
Comments
Group display names were implemented in #8255 - @nickvergessen it should be possible now to also implement the renaming, right? |
Well only displaying them. For 14 we should make it possible to store the displayname in the database. |
something for 15 milestone? |
... or 16 maybe? ;-) |
What is needed for this to be implemented? It would really be great to be able to rename groups/roles. 👍 |
@redtux would you want to help out here? @nickvergessen are the display names already stored in the database? |
@violoncelloCH Depends on what needs to be done, as I am not a developer. Is this still related to #8255? (Is renaming possible in OwnCloud, so that I could have a look there?) |
No, there is currently only one column: So the steps would be:
The group object already has a dedicated method which should be used correctly everywhere. |
Just registering my vote for this too. The original poster actually missed out some things from his steps obviously. Most importantly the need to copy the files into the new group and delete the old files. Not a very nice method. |
Is this stalled? |
Well the backend is already done, it's just missing someone to pick up the task to add it to the frontend |
It would be great if this could be added 🙂 |
With many schools successfully using Nextcloud, and with more and more schools starting to use it during the pandemic, we really need this feature usable and accessible from the frontend. Otherwise the end of the school year could become quite problematic and a disappointing experience for many teachers who convinced their colleagues and principal to use Nextcloud. |
Is there anyway to financially sponsor the work (paying Nextcloud to implement the frontend access to group renaming)? |
I would be willing to work on it, because my organization needs this feature. I was thinking to add an edit button (same as the user edit button) left of the delete button and open a popover where the new name can be typed. But I'm completely new to contributing to nextcloud and am not too farmiliar with Vue. So any pointers would be nice! |
@ArcticFall Great news, I think that what @nickvergessen wrote in a comment above is still a good starting point. See #9209 (comment) |
The backend functionality mentioned in #9209 (comment) is already implemented, as far as I can see. The database has the new column, which currently has the same value as the group id. Changing the display name in the database seems to also have an effect in the frontend. So I think only the frontend needs to be altered, to include functionality to change the display name form there. |
Make sure you have node14 and npm7 installed and then follow this part of the readme to compile the src folder into the new js files In your case |
I figured out the frontend and js stuff and got it working until the point I actually have to make a request to the backend to change it. I looked at the OCS documentation, but the user/group related stuff seems to be undocumented. |
@nickvergessen could you give me a pointer? I wasn't able to find anything and nobody answered on the forum either... |
Group and user stuff is in the admin docs But also there the rename is missing. https://github.com/nextcloud/server/blob/master/apps/provisioning_api/appinfo/routes.php#L44 Its a put agains the group endpoint |
Thanks! I got everything working. |
Closed with #30043 |
I'm new to the Nextcloud release cycle. When will this feature propably in the beta or specially in the stable channel? |
Beta in 2 days, stable in roughly 6 weeks |
Add an edit button next to the delete button to rename groups?!
Currently i have to create a new group, add everyone to the group, delete the old one...
The text was updated successfully, but these errors were encountered: