-
Bug
-
Resolution: Not a Bug
-
Critical
-
None
-
RHODS_1.27.0_GA
-
None
-
False
-
None
-
False
-
Testable
-
No
-
-
-
-
-
-
-
No
-
No
-
Yes
-
None
-
-
-
High
Description of problem:
A user B is not able to edit DS Project details (e.g., description) on a project or delete a project which was shared by another user A with Edit permissions. It works when user B has Admin permissions on the project.
According to the requirements listed in RHODS-7406
4. Users that have access to a project via sharing should be able to view & edit shared projects from the projects list.
Console log of the browser reports the following error:
Uncaught (in promise) Error: projects.project.openshift.io "ods-ci-ds-project-ldap-user3" is forbidden: User "ldap-noaccess3" cannot update resource "projects" in API group "project.openshift.io" in the namespace "ods-ci-ds-project-ldap-user3" t errorUtils.ts:10 appFetch SDKInitialize.tsx:28 s tslib.es6.js:147 s tslib.es6.js:128 a tslib.es6.js:118 promise callback*l tslib.es6.js:120 h tslib.es6.js:121 h tslib.es6.js:117 appFetch SDKInitialize.tsx:11 promise callback*appFetch SDKInitialize.tsx:11 xi index.js:92 Si index.js:107 Ei index.js:111 put index.js:117 Di index.js:667 oe projects.ts:141 O ManageProjectModal.tsx:69
The PUT call gets 403 error status too
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create a Data Science Project myprojectA with user A
- grant "Edit" permissions on "myprojectA" to user B
- check user B can access the DS project "myprojectA"
- edit Description and/or name of "myprojectA" using user B
Actual results:
user B gets permission error while modifying the DS Project owned and shared by user A
Expected results:
user B is able to modify any details of the DS Project owned and shared by user A
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
RHODS v1.27.0
Workaround:
N/A
Additional info:
- is related to
-
RHODS-7406 Enable project sharing
- Closed