Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when sharing another user's channel or editing channel details (Admin panel access) #3258

Closed
lauradanforth opened this issue Aug 10, 2021 · 7 comments · Fixed by #3450
Assignees
Labels
DEV: frontend P0 - critical Priority: Release blocker or regression

Comments

@lauradanforth
Copy link

Observed behavior

I wanted to add a new user to edit a channel created for the UN Women project, so I opened it via the Admin page. When clicking on "Share Channel" or "Edit channel details", I receive an Error page saying that I don't have permission to edit the channel.

User-facing consequences

Blocking the new UN Women implementing partner from taking over work on the channel.

Errors and logs

image

Usage Details

@bjester bjester added the P0 - critical Priority: Release blocker or regression label Sep 9, 2021
@rtibbles
Copy link
Member

Resolving this may also fix: #2886

@vkWeb
Copy link
Member

vkWeb commented Jan 16, 2022

@rtibbles @bjester cannot reproduce on studio.learningequality.org.

@bjester
Copy link
Member

bjester commented Jan 18, 2022

@vkWeb Could you try locally in your dev environment? The [email protected] user should be an admin user. You'll have to create another user and channel, then attempt to access that channel with [email protected] user to reproduce this. Does that reproduce the issue?

@vkWeb
Copy link
Member

vkWeb commented Jan 18, 2022

@bjester Yep, I can reproduce this locally as you said. Will look into this.

@vkWeb vkWeb removed their assignment Jan 31, 2022
@vkWeb
Copy link
Member

vkWeb commented Jan 31, 2022

Unassigning myself as this looks like a frontend bug.

@bjester bjester added this to the 2022Q1 Phase 1: tasks milestone Feb 15, 2022
@marcellamaki marcellamaki self-assigned this Jun 7, 2022
@marcellamaki
Copy link
Member

I've looked at this on unstable and I'm having trouble reproducing... I don't know if any other recent work could have fixed this?

The steps I've taken were:
sign in as [email protected]
create a channel
sign out
sign in with a@a
go to the admin panel and open user A under users
scroll down to channels and see the channel I created as user A
follow the link - channel opens with no errors and I was able to add a folder and drop in a file

Does this sound like what the expected behavior should be? And also - maybe this should be on hotfixes, not unstable? I haven't tested it there yet...

@bjester
Copy link
Member

bjester commented Jul 5, 2022

@marcellamaki So user a@a should be an admin, and should be able to edit the channel which you've verified. I believe the issue comes from opening the channel details as that admin user, and attempting to add an editor or viewer as the admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: frontend P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants