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 Roles Based Authentication/Permissions Rules to the Calendar #29

Open
paul-rinaldi opened this issue Jan 18, 2020 · 4 comments
Open
Labels
help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@paul-rinaldi
Copy link
Collaborator

Goals:

  • A service provider should be able to add events to the Calendar.
  • A user, not logged in, should not be able to add events to the calendar.

This may involve:

  • AWS
  • if statements on the calendar page (or on the link to the calendar page)
  • API calls to AWS for authentication

Useful tips:

  • We might want to add a roles.js to the constants folder.

Roles:

  • Public (not logged in)
  • Service Provider (logged in)

Note to keep in mind but don't need to implement for this card.

  • Eventually (Admin (logged in - can do edit, delete, add directly on calendar))
@paul-rinaldi paul-rinaldi added help wanted Extra attention is needed question Further information is requested labels Jan 18, 2020
@paul-rinaldi paul-rinaldi added this to the Chimera milestone Jan 18, 2020
@paul-rinaldi
Copy link
Collaborator Author

Authentication library to use: https://aws-amplify.github.io/docs/js/authentication

@hdenisenko
Copy link
Contributor

@paul-rinaldi do we have any aws infrastructure now with the events for the calendar? I haven't worked with aws before, but have time to learn and would be happy to grab this ticket if we have all the pieces needed for it already!

@paul-rinaldi
Copy link
Collaborator Author

@hdenisenko yes, I'm working on migrating some old db for events on one account to another

@hdenisenko
Copy link
Contributor

happy to pick this up when that's ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
Decarceration Platform
  
Awaiting triage
Development

No branches or pull requests

3 participants