data: {confirm: "USER #{user.name} WILL BE REMOVED! All issues, merge requests and comments authored by this user, and groups owned solely by them, will also be removed! Are you sure?"},
=link_to'Remove user',admin_user_path(@user),data: {confirm: "USER #{@user.name} WILL BE REMOVED! Are you sure?"},method: :delete,class: "btn btn-remove"
the user, and projects in them, will also be removed. Commits
the user, and projects in them, will also be removed. Commits
to other projects are unaffected.
to other projects are unaffected.
%br
%br
=link_to'Remove user and contributions',admin_user_path(@user,hard_delete: true),data: {confirm: "USER #{@user.name} WILL BE REMOVED! Are you sure?"},method: :delete,class: "btn btn-remove"
- As a user, you can delete your own account by navigating to **Settings** > **Account** and selecting **Delete account**
- As a user, you can delete your own account by navigating to **Settings** > **Account** and selecting **Delete account**
- As an admin, you can delete a user account by navigating to the **Admin Area**, selecting the **Users** tab, selecting a user, and clicking on **Remove user**
- As an admin, you can delete a user account by navigating to the **Admin Area**, selecting the **Users** tab, selecting a user, and clicking on **Delete user**