You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a function to check if an array of permissions has the ability to read from a specific RDPC. Similar to canWriteToRDPC but checking for READ or WRITE permission.
Detailed Description
Add a function to src/argoRoleChecks.ts called canReadFromRDPC which accepts as arguments an RDPC code and a list of permissions. Return a boolean that indicates if the permissions include the ability to READ or WRITE on that RDPC.
RDPC permissions follow the pattern: RDPC-${rdpcCode}, for example RDPC-TORONTO.READ or RDPC-TORONTO.WRITE.
The text was updated successfully, but these errors were encountered:
There should be a function to check if an array of permissions has the ability to read from a specific RDPC. Similar to canWriteToRDPC but checking for READ or WRITE permission.
Detailed Description
Add a function to src/argoRoleChecks.ts called
canReadFromRDPC
which accepts as arguments an RDPC code and a list of permissions. Return a boolean that indicates if the permissions include the ability to READ or WRITE on that RDPC.RDPC permissions follow the pattern:
RDPC-${rdpcCode}
, for exampleRDPC-TORONTO.READ
orRDPC-TORONTO.WRITE
.The text was updated successfully, but these errors were encountered: