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

Add security for admin console to review current registered users. #8

Open
varunmehta opened this issue Sep 15, 2016 · 6 comments
Open
Assignees

Comments

@varunmehta
Copy link
Member

varunmehta commented Sep 15, 2016

Integrate spring-security to enable admin user registration and administer the application.

We will bootstrap a few users, who then will confirm any one new registered to the application mark them as admin as needed. The default status is regular user.

Edit: Adding Scope - Spawn to a new ticket if needed.
With spring-rest-repositories we expose the repos via HAL browser, which means the CRUD of event exposed to end user.

  • Option 1: Create a controller to handle CRUD for events (trying to avoid for duplication purpose)
  • Option 2: Add security on all POST/PUT/PATCH methods and leave GET open for anyone to use.
@kunalkhosla
Copy link

Would this also mean registration page for the user? Do users create logins?

@kunalkhosla
Copy link

Self note : admins will be able to create events. The POST for event creation will be authorized by spring security

@varunmehta
Copy link
Member Author

Would this also mean registration page for the user? Do users create logins?

No only Admins, users will come and go per event. They have no logins for now.

@kunalkhosla
Copy link

So im guessing there is an "Admin Login" button somewhere, which admins will use to login. To its success, they can manage events. Let me know if im misunderstanding.

@varunmehta
Copy link
Member Author

Nope, you got it perfectly correct, for now we can secure the REST call, and then make a simple page to handle it. Do you know any good ui tech which is quick & easy to use (unlike angular) and can be used to make this UI ?

@kunalkhosla
Copy link

Simple http and jquery. Rest all are learning curve for me

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

No branches or pull requests

3 participants