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

Access denied when organizer adds commercial #3143

Open
1 of 2 tasks
AndrewKvalheim opened this issue Mar 15, 2023 · 1 comment
Open
1 of 2 tasks

Access denied when organizer adds commercial #3143

AndrewKvalheim opened this issue Mar 15, 2023 · 1 comment
Labels
bug 🐛 Something is wrong and needs to be fixed

Comments

@AndrewKvalheim
Copy link
Member

AndrewKvalheim commented Mar 15, 2023

I'm submitting a

  • Bug Report
  • Feature Request

Current behavior

You are not authorized to access this page.

Started POST "/conferences/example/program/proposals/1/commercials"
Processing by CommercialsController#create as HTML
Access denied on create #<Commercial id: nil, commercial_id: nil, commercial_type: nil, commercialable_id: 1, commercialable_type: "Event", created_at: nil, updated_at: nil, url: "https://www.youtube.com/watch?v=YH3c1QZzRK4">
Redirected to http://localhost:3000/
Completed 302 Found

Expected correct behavior

Successful addition of a commercial

Steps to reproduce

  1. As a speaker, submit a proposal.
  2. As a conference organizer, add a commercial via Manage → Events → Event → Edit → Commercials → Create Commercial.

Other information

Probably a case of “wandering around in non-admin views”.

@hennevogel hennevogel added the bug 🐛 Something is wrong and needs to be fixed label Apr 19, 2023
@hennevogel
Copy link
Member

Also does not work through other ways. There is simply no ability for organizers to manage commercials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something is wrong and needs to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants