[arvados] updated: 2.7.0-6604-g9ee659acc7

git repository hosting git at public.arvados.org
Mon May 20 15:13:31 UTC 2024


Summary of changes:
 services/workbench2/src/models/user.test.ts | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

       via  9ee659acc7d530e30d131583559c28ba615717f6 (commit)
      from  ba9fad34eaf0bea44d0aaf2f56e7a85b117d3de3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 9ee659acc7d530e30d131583559c28ba615717f6
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Mon May 20 11:13:25 2024 -0400

    21720: added canwrite & canmanage to user.test
    
    Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/models/user.test.ts b/services/workbench2/src/models/user.test.ts
index 30f82cf182..92726936d2 100644
--- a/services/workbench2/src/models/user.test.ts
+++ b/services/workbench2/src/models/user.test.ts
@@ -20,7 +20,8 @@ describe('User', () => {
                     firstName: 'Some', lastName: 'User',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
                 },
                 expect: 'Some User'
             },
@@ -32,7 +33,8 @@ describe('User', () => {
                     firstName: 'Some', lastName: 'User',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false
                 },
                 expect: 'Some User <someuser at example.com>'
             },
@@ -43,7 +45,9 @@ describe('User', () => {
                     firstName: '', lastName: 'User',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
+
                 },
                 expect: 'someuser at example.com'
             },
@@ -54,7 +58,8 @@ describe('User', () => {
                     firstName: 'Some', lastName: '',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
                 },
                 expect: 'someuser at example.com'
             },
@@ -65,7 +70,8 @@ describe('User', () => {
                     firstName: '', lastName: '',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
                 },
                 expect: 'someuser at example.com'
             },
@@ -77,7 +83,8 @@ describe('User', () => {
                     firstName: '', lastName: '',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
                 },
                 expect: 'someuser at example.com'
             },
@@ -88,7 +95,8 @@ describe('User', () => {
                     firstName: '', lastName: '',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
                 },
                 expect: 'someuser'
             },
@@ -100,7 +108,8 @@ describe('User', () => {
                     firstName: '', lastName: '',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
                 },
                 expect: 'someuser'
             },
@@ -111,7 +120,8 @@ describe('User', () => {
                     firstName: '', lastName: '',
                     uuid: 'zzzzz-tpzed-someusersuuid',
                     ownerUuid: 'zzzzz-tpzed-someusersowneruuid',
-                    prefs: {}, isAdmin: false, isActive: true
+                    prefs: {}, isAdmin: false, isActive: true,
+                    canWrite: false, canManage: false,
                 },
                 expect: 'zzzzz-tpzed-someusersuuid'
             },

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list