jasonmlutz / votey

React-Rails implementation voting/poll app.
0 stars 0 forks source link

Add modal to overlay protected resources, e.g., poll edit #66

Closed jasonmlutz closed 3 years ago

jasonmlutz commented 3 years ago

If a user attempts to access a protected (but not sensitive) resource, such as editing a poll, overlay a modal which holds a link to home (or a similar resource).

See #63 ; this is a simpler step.

jasonmlutz commented 3 years ago

Currently three resources display a modal when login is required:

  1. PollDisplay; the currentUser has already responded to the poll
  2. PollNew/New; there is no currentUser
  3. QuestionNew/ParentPollDisplay; when the currentUser differs from the poll author

At this time, no other resources are in need of such a modal.