Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Authorization framework with Action Policy #466
Authorization framework with Action Policy #466
Changes from 113 commits
a98459d
8e38388
a0a1ad6
f5f321f
a7b6773
998adc7
61bef2f
0054de3
dd0d25d
89cb0b9
d30ed86
f253c9d
0389f65
ea5ced4
c8df1cf
fbbe23c
d1c9a1e
abfb0c4
2b5cb17
f525498
8362e49
6fdbee4
cdaaf29
23fcaf2
b874a16
35284d8
8715c83
257faef
77ef396
027179a
14c2e12
87b7a0d
b72a200
3c42de2
b068a8f
a81db07
ac00352
764f5a1
3ab0898
aec9b89
f158d24
c00ebcb
d7112ef
281ec95
0b49040
ef8167c
8bc1cad
d86f120
f2ff48b
f41ea3f
fb34c46
66a7bfe
85efb52
d7324e5
8752dd5
695cdd3
f26e2cb
87cecff
c0e41c5
efd10d4
4c7f024
5214147
a9f1060
bb3786c
0e058d0
ff0673a
b63c43e
fcbc3d0
cc22b7a
3343d95
1113ce4
f9f8a40
1dd977f
17b7f14
cec95fe
0a03990
e1d6102
ca924d5
55606d1
885a8b1
6c62b65
e931de9
9dcf6e6
dbc6d31
5ff96e9
9824476
4ff5781
e99f014
6ad7ca9
d270267
a3287b5
8523e64
670d849
84fae2b
51ea8ea
d0f6884
d67c279
e991d54
787ae05
670ebb1
d8f9219
090a1ff
f2e4191
754d826
4f1c7e6
d3c9cc5
39f37e3
7396ffc
73a4192
6a9caba
33e8ab8
c47110f
3c17dbb
4fd2c25
ada4ef4
8ff733c
8b3eb81
c7a9db3
0e2fb97
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can now redirect staff to the dashboard_index_path, now we have a solid grasp on what the dashboard looks like. I think we set it to pets_path before the dashboard index was a thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the redirect to dashboard now in ada4ef4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed this - should we have a
before_action authenticate_user
or do this in case someone tries to access this page without logging in?context: {organization: Current.organization}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right! That should have been Current.organization and was def a mistake.