Project

General

Profile

Actions

Bug #10557

closed

Perform full user setup procedure when (incl. can_read permission link to all_users) when a user is activated by updating the is_active flag.

Added by Nico César over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-

Description

Currently, the setup button (in the Admin tab that gives login permissions on shell nodes) is responsible for creating the can_read link permission to all_users. The link is also added when the user is created if the "auto setup new user" feature is enabled.

If auto-setup is disabled, and the admin doesn't want to set up VM access (e.g., external LDAP and other tools provide the users), the admin might activate users by changing the is_active flag to true instead of using the "Setup" button. This nearly works, except that the "all users" link isn't created, and sharing features in Workbench don't work as expected for those users.

We should support this admin workflow by adding the appropriate link (and doing any other needed setup activities) if needed when a user's is_active flag changes to true.

Implementation

Run auto_setup_new_user as an after_update hook when the is_active flag changes to true.


Subtasks 2 (0 open2 closed)

Task #11833: Review 10557-auto-setupResolvedTom Clegg11/18/2016Actions
Task #11873: Review 10557-setup-cleanupResolvedTom Clegg11/18/2016Actions

Related issues

Related to Arvados - Bug #12178: Activating an account (setting is_active from false to true) does not email the new userNewActions
Actions

Also available in: Atom PDF