[arvados] created: 2.1.0-2571-g2489ab043
git repository hosting
git at public.arvados.org
Fri Jun 17 19:38:59 UTC 2022
at 2489ab043bb41a2b6ba7ef4ef5491bdae4b63584 (commit)
commit 2489ab043bb41a2b6ba7ef4ef5491bdae4b63584
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Fri Jun 17 16:35:15 2022 -0300
18858: Adds additional checks, improves logging.
* Checks that if there's a LoginCluster federation, the current cluster
isn't a satellite.
* Skips system users when called with -deactivate-unlisted option.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/tools/sync-users/sync-users.go b/tools/sync-users/sync-users.go
index 7cb55f74e..23f111817 100644
--- a/tools/sync-users/sync-users.go
+++ b/tools/sync-users/sync-users.go
@@ -59,9 +59,12 @@ func main() {
type ConfigParams struct {
Client *arvados.Client
+ ClusterID string
CurrentUser arvados.User
DeactivateUnlisted bool
Path string
+ SysUserUUID string
+ AnonUserUUID string
Verbose bool
}
@@ -136,10 +139,27 @@ func GetConfig() (cfg ConfigParams, err error) {
return cfg, fmt.Errorf("current user %q is not an admin user", u.UUID)
}
if cfg.Verbose {
- log.Printf("Running as admin user %q", u.UUID)
+ log.Printf("Running as admin user %q (%s)", u.Email, u.UUID)
}
cfg.CurrentUser = u
+ var ac struct {
+ ClusterID string
+ Login struct {
+ LoginCluster string
+ }
+ }
+ err = cfg.Client.RequestAndDecode(&ac, "GET", "arvados/v1/config", nil, nil)
+ if err != nil {
+ return cfg, fmt.Errorf("error getting the exported config: %s", err)
+ }
+ if ac.Login.LoginCluster != "" && ac.Login.LoginCluster != ac.ClusterID {
+ return cfg, fmt.Errorf("cannot run on a cluster other than the login cluster")
+ }
+ cfg.SysUserUUID = ac.ClusterID + "-tpzed-000000000000000"
+ cfg.AnonUserUUID = ac.ClusterID + "-tpzed-anonymouspublic"
+ cfg.ClusterID = ac.ClusterID
+
return cfg, nil
}
@@ -157,7 +177,7 @@ func doMain(cfg *ConfigParams) error {
if err != nil {
return fmt.Errorf("error getting all users: %s", err)
}
- log.Printf("Found %d users", len(results))
+ log.Printf("Found %d users in cluster %q", len(results), cfg.ClusterID)
for _, item := range results {
u := item.(arvados.User)
allUsers[strings.ToLower(u.Email)] = u
@@ -187,13 +207,21 @@ func doMain(cfg *ConfigParams) error {
if cfg.DeactivateUnlisted {
for email, user := range allUsers {
- if user.UUID == cfg.CurrentUser.UUID {
- log.Printf("Skipping current user deactivation: %s", user.UUID)
+ switch user.UUID {
+ case cfg.SysUserUUID, cfg.AnonUserUUID:
+ if cfg.Verbose {
+ log.Printf("Skipping system user deactivation: %s", user.UUID)
+ }
+ continue
+ case cfg.CurrentUser.UUID:
+ if cfg.Verbose {
+ log.Printf("Skipping current user deactivation: %s (%s)", user.Email, user.UUID)
+ }
continue
}
- if !processedUsers[email] {
+ if !processedUsers[email] && allUsers[email].IsActive {
if cfg.Verbose {
- log.Printf("Deactivating unlisted user %q", user.UUID)
+ log.Printf("Deactivating unlisted user %q (%s)", user.Email, user.UUID)
}
var updatedUser arvados.User
if err := UnsetupUser(cfg.Client, user.UUID, &updatedUser); err != nil {
@@ -242,8 +270,8 @@ func ProcessRecord(cfg *ConfigParams, record userRecord, allUsers map[string]arv
"email": record.Email,
"first_name": record.FirstName,
"last_name": record.LastName,
- "is_active": strconv.FormatBool(record.Active),
- "is_admin": strconv.FormatBool(record.Admin),
+ "is_active": wantedActiveStatus,
+ "is_admin": wantedAdminStatus,
})
if err != nil {
return false, fmt.Errorf("error creating user %q: %s", record.Email, err)
commit 04ba9e167a70194690aeb457dcb94d1776980d23
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Fri Jun 17 15:58:38 2022 -0300
18858: Avoids updating the current user. Adds unlisted user disable option.
Also, adds verbose logging.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/tools/sync-users/.gitignore b/tools/sync-users/.gitignore
new file mode 100644
index 000000000..cbbc17612
--- /dev/null
+++ b/tools/sync-users/.gitignore
@@ -0,0 +1 @@
+sync-users
\ No newline at end of file
diff --git a/tools/sync-users/sync-users.go b/tools/sync-users/sync-users.go
index 28d7e7373..7cb55f74e 100644
--- a/tools/sync-users/sync-users.go
+++ b/tools/sync-users/sync-users.go
@@ -58,9 +58,11 @@ func main() {
}
type ConfigParams struct {
- Path string
- Verbose bool
- Client *arvados.Client
+ Client *arvados.Client
+ CurrentUser arvados.User
+ DeactivateUnlisted bool
+ Path string
+ Verbose bool
}
func ParseFlags(cfg *ConfigParams) error {
@@ -78,6 +80,10 @@ func ParseFlags(cfg *ConfigParams) error {
flags.PrintDefaults()
}
+ deactivateUnlisted := flags.Bool(
+ "deactivate-unlisted",
+ false,
+ "Deactivate users that are not in the input file.")
verbose := flags.Bool(
"verbose",
false,
@@ -105,6 +111,7 @@ func ParseFlags(cfg *ConfigParams) error {
return fmt.Errorf("input file path invalid")
}
+ cfg.DeactivateUnlisted = *deactivateUnlisted
cfg.Path = *srcPath
cfg.Verbose = *verbose
@@ -126,8 +133,12 @@ func GetConfig() (cfg ConfigParams, err error) {
return cfg, fmt.Errorf("error getting the current user: %s", err)
}
if !u.IsAdmin {
- return cfg, fmt.Errorf("current user (%s) is not an admin user", u.UUID)
+ return cfg, fmt.Errorf("current user %q is not an admin user", u.UUID)
+ }
+ if cfg.Verbose {
+ log.Printf("Running as admin user %q", u.UUID)
}
+ cfg.CurrentUser = u
return cfg, nil
}
@@ -141,6 +152,7 @@ func doMain(cfg *ConfigParams) error {
defer f.Close()
allUsers := make(map[string]arvados.User)
+ processedUsers := make(map[string]bool)
results, err := GetAll(cfg.Client, "users", arvados.ResourceListParams{}, &UserList{})
if err != nil {
return fmt.Errorf("error getting all users: %s", err)
@@ -149,6 +161,7 @@ func doMain(cfg *ConfigParams) error {
for _, item := range results {
u := item.(arvados.User)
allUsers[strings.ToLower(u.Email)] = u
+ processedUsers[strings.ToLower(u.Email)] = false
}
loadedRecords, err := LoadInputFile(f)
@@ -159,14 +172,42 @@ func doMain(cfg *ConfigParams) error {
updatesSucceeded, updatesFailed := 0, 0
for _, record := range loadedRecords {
+ if record.Email == cfg.CurrentUser.Email {
+ log.Printf("Skipping current user %q from processing", record.Email)
+ continue
+ }
if updated, err := ProcessRecord(cfg, record, allUsers); err != nil {
log.Printf("error processing record %q: %s", record.Email, err)
updatesFailed++
} else if updated {
+ processedUsers[strings.ToLower(record.Email)] = true
updatesSucceeded++
}
}
- log.Printf("Updated %d account(s), failed to update %d account(s)", updatesSucceeded, updatesFailed)
+
+ if cfg.DeactivateUnlisted {
+ for email, user := range allUsers {
+ if user.UUID == cfg.CurrentUser.UUID {
+ log.Printf("Skipping current user deactivation: %s", user.UUID)
+ continue
+ }
+ if !processedUsers[email] {
+ if cfg.Verbose {
+ log.Printf("Deactivating unlisted user %q", user.UUID)
+ }
+ var updatedUser arvados.User
+ if err := UnsetupUser(cfg.Client, user.UUID, &updatedUser); err != nil {
+ log.Printf("error deactivating unlisted user %q: %s", user.UUID, err)
+ updatesFailed++
+ } else {
+ allUsers[email] = updatedUser
+ updatesSucceeded++
+ }
+ }
+ }
+ }
+
+ log.Printf("Updated %d user(s), failed to update %d user(s)", updatesSucceeded, updatesFailed)
return nil
}
@@ -181,13 +222,22 @@ type userRecord struct {
// ProcessRecord creates or updates a user based on the given record
func ProcessRecord(cfg *ConfigParams, record userRecord, allUsers map[string]arvados.User) (bool, error) {
+ if cfg.Verbose {
+ log.Printf("Processing record for user %q", record.Email)
+ }
+
wantedActiveStatus := strconv.FormatBool(record.Active)
wantedAdminStatus := strconv.FormatBool(record.Admin)
+ createRequired := false
updateRequired := false
// Check if user exists, set its active & admin status.
var user arvados.User
user, ok := allUsers[record.Email]
if !ok {
+ if cfg.Verbose {
+ log.Printf("User %q does not exist, creating", record.Email)
+ }
+ createRequired = true
err := CreateUser(cfg.Client, &user, map[string]string{
"email": record.Email,
"first_name": record.FirstName,
@@ -198,12 +248,13 @@ func ProcessRecord(cfg *ConfigParams, record userRecord, allUsers map[string]arv
if err != nil {
return false, fmt.Errorf("error creating user %q: %s", record.Email, err)
}
- updateRequired = true
- log.Printf("Created user %q", record.Email)
}
if record.Active != user.IsActive {
updateRequired = true
if record.Active {
+ if cfg.Verbose {
+ log.Printf("User %q is inactive, activating", record.Email)
+ }
// Here we assume the 'setup' is done elsewhere if needed.
err := UpdateUser(cfg.Client, user.UUID, &user, map[string]string{
"is_active": wantedActiveStatus,
@@ -213,6 +264,9 @@ func ProcessRecord(cfg *ConfigParams, record userRecord, allUsers map[string]arv
return false, fmt.Errorf("error updating user %q: %s", record.Email, err)
}
} else {
+ if cfg.Verbose {
+ log.Printf("User %q is active, deactivating", record.Email)
+ }
err := UnsetupUser(cfg.Client, user.UUID, &user)
if err != nil {
return false, fmt.Errorf("error deactivating user %q: %s", record.Email, err)
@@ -221,6 +275,9 @@ func ProcessRecord(cfg *ConfigParams, record userRecord, allUsers map[string]arv
}
// Inactive users cannot be admins.
if user.IsActive && record.Admin != user.IsAdmin {
+ if cfg.Verbose {
+ log.Printf("User %q is active, changing admin status to %v", record.Email, record.Admin)
+ }
updateRequired = true
err := UpdateUser(cfg.Client, user.UUID, &user, map[string]string{
"is_admin": wantedAdminStatus,
@@ -230,11 +287,14 @@ func ProcessRecord(cfg *ConfigParams, record userRecord, allUsers map[string]arv
}
}
allUsers[record.Email] = user
+ if createRequired {
+ log.Printf("Created user %q", record.Email)
+ }
if updateRequired {
log.Printf("Updated user %q", record.Email)
}
- return updateRequired, nil
+ return createRequired || updateRequired, nil
}
// LoadInputFile reads the input file and returns a list of user records
commit 47286f1db7f6601cbcc7684835e7e126db9c0249
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Thu Jun 16 16:07:40 2022 -0300
18858: Implements basic sync-users tool.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/tools/sync-users/sync-users.go b/tools/sync-users/sync-users.go
new file mode 100644
index 000000000..28d7e7373
--- /dev/null
+++ b/tools/sync-users/sync-users.go
@@ -0,0 +1,337 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+package main
+
+import (
+ "bytes"
+ "encoding/csv"
+ "encoding/json"
+ "flag"
+ "fmt"
+ "io"
+ "log"
+ "net/url"
+ "os"
+ "strconv"
+ "strings"
+
+ "git.arvados.org/arvados.git/lib/cmd"
+ "git.arvados.org/arvados.git/sdk/go/arvados"
+)
+
+var version = "dev"
+
+type resourceList interface {
+ Len() int
+ GetItems() []interface{}
+}
+
+// UserList implements resourceList interface
+type UserList struct {
+ arvados.UserList
+}
+
+// Len returns the amount of items this list holds
+func (l UserList) Len() int {
+ return len(l.Items)
+}
+
+// GetItems returns the list of items
+func (l UserList) GetItems() (out []interface{}) {
+ for _, item := range l.Items {
+ out = append(out, item)
+ }
+ return
+}
+
+func main() {
+ cfg, err := GetConfig()
+ if err != nil {
+ log.Fatalf("%v", err)
+ }
+
+ if err := doMain(&cfg); err != nil {
+ log.Fatalf("%v", err)
+ }
+}
+
+type ConfigParams struct {
+ Path string
+ Verbose bool
+ Client *arvados.Client
+}
+
+func ParseFlags(cfg *ConfigParams) error {
+ flags := flag.NewFlagSet(os.Args[0], flag.ExitOnError)
+ flags.Usage = func() {
+ usageStr := `Synchronize remote users into Arvados from a CSV format file with 5 columns:
+ * 1st: E-mail address
+ * 2nd: First name
+ * 3rd: Last name
+ * 4th: Active status (0 or 1)
+ * 5th: Admin status (0 or 1)`
+ fmt.Fprintf(flags.Output(), "%s\n\n", usageStr)
+ fmt.Fprintf(flags.Output(), "Usage:\n%s [OPTIONS] <input-file.csv>\n\n", os.Args[0])
+ fmt.Fprintf(flags.Output(), "Options:\n")
+ flags.PrintDefaults()
+ }
+
+ verbose := flags.Bool(
+ "verbose",
+ false,
+ "Log informational messages. Off by default.")
+ getVersion := flags.Bool(
+ "version",
+ false,
+ "Print version information and exit.")
+
+ if ok, code := cmd.ParseFlags(flags, os.Args[0], os.Args[1:], "input-file.csv", os.Stderr); !ok {
+ os.Exit(code)
+ } else if *getVersion {
+ fmt.Printf("%s %s\n", os.Args[0], version)
+ os.Exit(0)
+ }
+
+ // Input file as a required positional argument
+ if flags.NArg() == 0 {
+ return fmt.Errorf("please provide a path to an input file")
+ }
+ srcPath := &os.Args[flags.NFlag()+1]
+
+ // Validations
+ if *srcPath == "" {
+ return fmt.Errorf("input file path invalid")
+ }
+
+ cfg.Path = *srcPath
+ cfg.Verbose = *verbose
+
+ return nil
+}
+
+// GetConfig sets up a ConfigParams struct
+func GetConfig() (cfg ConfigParams, err error) {
+ err = ParseFlags(&cfg)
+ if err != nil {
+ return
+ }
+
+ cfg.Client = arvados.NewClientFromEnv()
+
+ // Check current user permissions
+ u, err := cfg.Client.CurrentUser()
+ if err != nil {
+ return cfg, fmt.Errorf("error getting the current user: %s", err)
+ }
+ if !u.IsAdmin {
+ return cfg, fmt.Errorf("current user (%s) is not an admin user", u.UUID)
+ }
+
+ return cfg, nil
+}
+
+func doMain(cfg *ConfigParams) error {
+ // Try opening the input file early, just in case there's a problem.
+ f, err := os.Open(cfg.Path)
+ if err != nil {
+ return fmt.Errorf("error opening input file: %s", err)
+ }
+ defer f.Close()
+
+ allUsers := make(map[string]arvados.User)
+ results, err := GetAll(cfg.Client, "users", arvados.ResourceListParams{}, &UserList{})
+ if err != nil {
+ return fmt.Errorf("error getting all users: %s", err)
+ }
+ log.Printf("Found %d users", len(results))
+ for _, item := range results {
+ u := item.(arvados.User)
+ allUsers[strings.ToLower(u.Email)] = u
+ }
+
+ loadedRecords, err := LoadInputFile(f)
+ if err != nil {
+ return fmt.Errorf("reading input file %q: %s", cfg.Path, err)
+ }
+ log.Printf("Loaded %d records from input file", len(loadedRecords))
+
+ updatesSucceeded, updatesFailed := 0, 0
+ for _, record := range loadedRecords {
+ if updated, err := ProcessRecord(cfg, record, allUsers); err != nil {
+ log.Printf("error processing record %q: %s", record.Email, err)
+ updatesFailed++
+ } else if updated {
+ updatesSucceeded++
+ }
+ }
+ log.Printf("Updated %d account(s), failed to update %d account(s)", updatesSucceeded, updatesFailed)
+
+ return nil
+}
+
+type userRecord struct {
+ Email string
+ FirstName string
+ LastName string
+ Active bool
+ Admin bool
+}
+
+// ProcessRecord creates or updates a user based on the given record
+func ProcessRecord(cfg *ConfigParams, record userRecord, allUsers map[string]arvados.User) (bool, error) {
+ wantedActiveStatus := strconv.FormatBool(record.Active)
+ wantedAdminStatus := strconv.FormatBool(record.Admin)
+ updateRequired := false
+ // Check if user exists, set its active & admin status.
+ var user arvados.User
+ user, ok := allUsers[record.Email]
+ if !ok {
+ err := CreateUser(cfg.Client, &user, map[string]string{
+ "email": record.Email,
+ "first_name": record.FirstName,
+ "last_name": record.LastName,
+ "is_active": strconv.FormatBool(record.Active),
+ "is_admin": strconv.FormatBool(record.Admin),
+ })
+ if err != nil {
+ return false, fmt.Errorf("error creating user %q: %s", record.Email, err)
+ }
+ updateRequired = true
+ log.Printf("Created user %q", record.Email)
+ }
+ if record.Active != user.IsActive {
+ updateRequired = true
+ if record.Active {
+ // Here we assume the 'setup' is done elsewhere if needed.
+ err := UpdateUser(cfg.Client, user.UUID, &user, map[string]string{
+ "is_active": wantedActiveStatus,
+ "is_admin": wantedAdminStatus, // Just in case it needs to be changed.
+ })
+ if err != nil {
+ return false, fmt.Errorf("error updating user %q: %s", record.Email, err)
+ }
+ } else {
+ err := UnsetupUser(cfg.Client, user.UUID, &user)
+ if err != nil {
+ return false, fmt.Errorf("error deactivating user %q: %s", record.Email, err)
+ }
+ }
+ }
+ // Inactive users cannot be admins.
+ if user.IsActive && record.Admin != user.IsAdmin {
+ updateRequired = true
+ err := UpdateUser(cfg.Client, user.UUID, &user, map[string]string{
+ "is_admin": wantedAdminStatus,
+ })
+ if err != nil {
+ return false, fmt.Errorf("error updating user %q: %s", record.Email, err)
+ }
+ }
+ allUsers[record.Email] = user
+ if updateRequired {
+ log.Printf("Updated user %q", record.Email)
+ }
+
+ return updateRequired, nil
+}
+
+// LoadInputFile reads the input file and returns a list of user records
+func LoadInputFile(f *os.File) (loadedRecords []userRecord, err error) {
+ lineNo := 0
+ csvReader := csv.NewReader(f)
+ loadedRecords = make([]userRecord, 0)
+
+ for {
+ record, e := csvReader.Read()
+ if e == io.EOF {
+ break
+ }
+ lineNo++
+ if e != nil {
+ err = fmt.Errorf("parsing error at line %d: %s", lineNo, e)
+ return
+ }
+ if len(record) != 5 {
+ err = fmt.Errorf("parsing error at line %d: expected 5 fields, found %d", lineNo, len(record))
+ return
+ }
+ email := strings.ToLower(strings.TrimSpace(record[0]))
+ firstName := strings.TrimSpace(record[1])
+ lastName := strings.TrimSpace(record[2])
+ active := strings.TrimSpace(record[3])
+ admin := strings.TrimSpace(record[4])
+ if email == "" || firstName == "" || lastName == "" || active == "" || admin == "" {
+ err = fmt.Errorf("parsing error at line %d: fields cannot be empty", lineNo)
+ return
+ }
+ activeBool, err := strconv.ParseBool(active)
+ if err != nil {
+ return nil, fmt.Errorf("parsing error at line %d: active status not recognized", lineNo)
+ }
+ adminBool, err := strconv.ParseBool(admin)
+ if err != nil {
+ return nil, fmt.Errorf("parsing error at line %d: admin status not recognized", lineNo)
+ }
+ loadedRecords = append(loadedRecords, userRecord{
+ Email: email,
+ FirstName: firstName,
+ LastName: lastName,
+ Active: activeBool,
+ Admin: adminBool,
+ })
+ }
+ return loadedRecords, nil
+}
+
+// GetAll adds all objects of type 'resource' to the 'allItems' list
+func GetAll(c *arvados.Client, res string, params arvados.ResourceListParams, page resourceList) (allItems []interface{}, err error) {
+ // Use the maximum page size the server allows
+ limit := 1<<31 - 1
+ params.Limit = &limit
+ params.Offset = 0
+ params.Order = "uuid"
+ for {
+ if err = GetResourceList(c, &page, res, params); err != nil {
+ return allItems, err
+ }
+ // Have we finished paging?
+ if page.Len() == 0 {
+ break
+ }
+ allItems = append(allItems, page.GetItems()...)
+ params.Offset += page.Len()
+ }
+ return allItems, nil
+}
+
+func jsonReader(rscName string, ob interface{}) io.Reader {
+ j, err := json.Marshal(ob)
+ if err != nil {
+ panic(err)
+ }
+ v := url.Values{}
+ v[rscName] = []string{string(j)}
+ return bytes.NewBufferString(v.Encode())
+}
+
+// GetResourceList fetches res list using params
+func GetResourceList(c *arvados.Client, dst *resourceList, res string, params interface{}) error {
+ return c.RequestAndDecode(dst, "GET", "/arvados/v1/"+res, nil, params)
+}
+
+// CreateUser creates a user with userData parameters, assigns it to dst
+func CreateUser(c *arvados.Client, dst *arvados.User, userData map[string]string) error {
+ return c.RequestAndDecode(dst, "POST", "/arvados/v1/users", jsonReader("user", userData), nil)
+}
+
+// UpdateUser updates a user with userData parameters
+func UpdateUser(c *arvados.Client, userUUID string, dst *arvados.User, userData map[string]string) error {
+ return c.RequestAndDecode(&dst, "PUT", "/arvados/v1/users/"+userUUID, jsonReader("user", userData), nil)
+}
+
+// UnsetupUser deactivates a user
+func UnsetupUser(c *arvados.Client, userUUID string, dst *arvados.User) error {
+ return c.RequestAndDecode(&dst, "POST", "/arvados/v1/users/"+userUUID+"/unsetup", nil, nil)
+}
commit 5981e2c788e9f60023878664c9a307f9186b1230
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Wed Jun 15 10:26:54 2022 -0300
18858: Doc site URL fix.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/apps/workbench/app/views/users/_show_admin.html.erb b/apps/workbench/app/views/users/_show_admin.html.erb
index 1da22d438..b151ceff0 100644
--- a/apps/workbench/app/views/users/_show_admin.html.erb
+++ b/apps/workbench/app/views/users/_show_admin.html.erb
@@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
<div class="col-md-6">
<p>
- This page enables you to <a href="https://doc.arvados.org/master/admin/user-management.html">manage users</a>.
+ This page enables you to <a href="https://doc.arvados.org/main/admin/user-management.html">manage users</a>.
</p>
<p>
@@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
As an admin, you can deactivate and reset this user. This will
remove all repository/VM permissions for the user. If you
"setup" the user again, the user will have to sign the user
- agreement again. You may also want to <a href="https://doc.arvados.org/master/admin/reassign-ownership.html">reassign data ownership</a>.
+ agreement again. You may also want to <a href="https://doc.arvados.org/main/admin/reassign-ownership.html">reassign data ownership</a>.
</p>
<%= button_to "Deactivate #{@object.full_name}", unsetup_user_url(id: @object.uuid), class: 'btn btn-primary', data: {confirm: "Are you sure you want to deactivate #{@object.full_name}?"} %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list