codemancers / rapidfire

Making dynamic surveys should be easy!
https://rapidfire.fly.dev/
MIT License
319 stars 141 forks source link

Fix to use specified logged in scope #116

Closed codeodor closed 4 years ago

codeodor commented 7 years ago

Rapidfire includes a method that looks to allow the programmer to specify current_admin or current_student or whatever scope of user they want, but it ends up using current_user anyway. This commit fixes that issue, and renames the method to something that is obviously in use for rapidfire, as opposed to the general scoped name.

iffyuva commented 5 years ago

Im thinking of merging multi-tenancy PR and this PR, and expose pundit like interface. Will be done in next release.

stale[bot] commented 5 years ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for another 14 days. Thank you for your contributions.