Skip to content

[User Management] Rename groups (delete already exists) #12600

Closed

Description

@LukasReschke

As an admin, I want to rename a group to make it easier for me to manage the ownCloud installation.

Acceptance Criteria:
Rename only works for local groups, as LDAP / AD groups clearly can't be renamed in ownCloud
When a group is renamed, the group is renamed for every user that is already a member of the group.
When a group is deleted, the group is deleted, but not group members - the members just lose their membership in the deleted group.
This is done via the sidebar, where next to the set groups admins can create and edit custom groups. The active group will show a control to rename and delete that group.

Remarks by Engineering:
It really means it. The group names are also used as an index. If we rename this, we must also rename any occurrence in the database. In some apps, we would also need to alter other files (mount.json for files_external if group mounts are set up). And then there are 3rd party apps we do not have control of.
We don't necessarily need to show the identifier in the user management and keep it totally internal, but we need to keep it.

Got it, the group “display name” would be different, but the index would be the same. That works...Thanks for explaining.

Activity

  1. added this to the milestone on Dec 4, 2014
  2. LukasReschke commented on Dec 4, 2014

    @LukasReschke
    ContributorAuthor
  3. MorrisJobke commented on Dec 4, 2014

    @MorrisJobke
    Contributor

    UX wise: Like the calendar rename functionality?

  4. PVince81 commented on Dec 5, 2014

    @PVince81
    Contributor

    Would it be easier to rather introduce display names for groups as well ?
    Suggested here: #7918
    (CC @Xenopathic)

  5. MorrisJobke commented on Dec 6, 2014

    @MorrisJobke
    Contributor

    @PVince81 I also proposed this and this is most likely the way to go. Otherwise it will lead to a migration nightmare.

  6. removed this from the milestone on Dec 9, 2014
  7. added this to the milestone on Dec 22, 2014
  8. modified the milestones: , on Mar 2, 2015
  9. removed this from the milestone on Jul 3, 2015
  10. 11 remaining items

  11. modified the milestones: , 9.1 on Jul 6, 2016
  12. PVince81 commented on Jul 6, 2016

    @PVince81
    Contributor

    Moving enhancement to 9.2.

    CC @DeepDiver1975 @dragotin

  13. PVince81 commented on Dec 22, 2016

    @PVince81
    Contributor

    Group display name support was added in core through #7918.

    Now what remains is adjusting the local database group backend to support it and also the web UIs to support it, here's a list:

    • backend interface support: Adding group display name support in group backends #26750
    • add to local backend
      • new DB column in oc_groups for display names
    • add display name support in various places
      • users page
        • display name in dropdowns (+ group id as tooltip)
        • rename icon in left panel if backend supports display name / renaming
        • somehow let the user specify both group id + display name when creating new groups
      • various dropdowns (exclude groups from sharing, exclude groups from apps)
      • sharing autocomplete / sharee API: Adding group display name support in group backends #26750
    • import from LDAP if available ?
  14. PVince81 commented on Dec 22, 2016

    @PVince81
    Contributor

    @pmaier1 would move to backlog for now.

    The reason I worked on this was because custom groups require display name support to be able to rename them, so "backend interface support" had to be added into core.

    The remaining is however nice to have for the near future I think, maybe 10.1.

  15. modified the milestones: backlog, 10.0 on Dec 23, 2016
  16. FireEmerald commented on Mar 29, 2018

    @FireEmerald

    Changing the displayed name of a existing group is such a basic thing - i wonder why this isn't implemented yet. So we need to create a new group and assign all rights again if we require to change the displayed name...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions