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

Restaurant owner can access restaurant pending approval? #60

Open
mrageh opened this issue Dec 19, 2013 · 2 comments
Open

Restaurant owner can access restaurant pending approval? #60

mrageh opened this issue Dec 19, 2013 · 2 comments

Comments

@mrageh
Copy link
Contributor

mrageh commented Dec 19, 2013

As a restaurant owner that has just created a new restaurant
When I type in the slug of my restaurant slug/admin in the url
Then I can access the, if I now click back I see a flash message
"Sorry, we couldn't find the restaurant you requested in our sytem."

So to summarise; a restaurant pending approval can be viewed by
and activated by the restaurant owner!!!!
That makes it visible to all the users

@fluxusfrequency
Copy link
Owner

No

If the rest admin tries to go the pages normal path, not the admin panel,
He is redirected to the admin panel.
But only if the restaurant is approved and inactive!

@fluxusfrequency
Copy link
Owner

Whoops thats referencing #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants