-
Notifications
You must be signed in to change notification settings - Fork 81
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
Provide options to disable certain actions #26
Comments
Hi Dean, I like this idea. I won't have a chance to follow up until the new year, but I'm planning to dig out of the backlog of issues on this project in mid-January. Thanks for this (and the rest of your recent suggestions). Jason |
I'm just experimenting with silex-simpleuser for something at work and we would also need to be able to disable registration and the user list. Not sure where you guys got with this, but I'd be happy to pitch in on this during our spike day tomorrow. |
Hi folks I had a similar need to disable path = user/list to non Admin users, so I used the following configuration.
After apply this is an anonymous try to access user/list is redirected to /user/login, if the user is logged but not admin user get the following error Whoops, looks like something went wrong. If I try to access with an Admin users the page is render properly. About the error I am not sure why I am getting that error, could be the controller itself, but I didn't confirm yet. any help is accepted. enzo |
This obviously should be a configuration option further down the line, but I was wondering if we could simply over-ride the route. I couldn't get that working. Your solution is acceptable I think enzolutions for now :) |
Hi,
I suggest providing global options to disable the following actions within SimpleUser:
I'm happy to work on a PR for this, let me know :)
The text was updated successfully, but these errors were encountered: