19146: Add can_write and can_manage response fields.
[arvados.git] / sdk / go / arvados / user.go
index 7693c8442be69feb40f7712c470d0c3e3791c27e..2fb061e7fb818840fc8e1c42ae10e771c45e1ee5 100644 (file)
@@ -16,7 +16,6 @@ type User struct {
        Email                string                 `json:"email"`
        FullName             string                 `json:"full_name"`
        FirstName            string                 `json:"first_name"`
-       Kind                 string                 `json:"kind"`
        LastName             string                 `json:"last_name"`
        IdentityURL          string                 `json:"identity_url"`
        IsInvited            bool                   `json:"is_invited"`
@@ -27,6 +26,8 @@ type User struct {
        ModifiedByClientUUID string                 `json:"modified_by_client_uuid"`
        Prefs                map[string]interface{} `json:"prefs"`
        WritableBy           []string               `json:"writable_by,omitempty"`
+       CanWrite             bool                   `json:"can_write"`
+       CanManage            bool                   `json:"can_manage"`
 }
 
 // UserList is an arvados#userList resource.