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

feature: Role based authorization #74

Merged
merged 17 commits into from
Oct 18, 2020
Merged

Conversation

adrianthedev
Copy link
Collaborator

@adrianthedev adrianthedev commented Jul 8, 2020

This should allow the users to conditionally authorize other users to see and interact with content.

@adrianthedev adrianthedev changed the title feat: hide content in navigation if not allowed in policy feat: resource authorization Jul 8, 2020
@adrianthedev adrianthedev changed the title feat: resource authorization feature: Role based authorization Oct 18, 2020
@codecov
Copy link

codecov bot commented Oct 18, 2020

Codecov Report

Merging #74 into master will increase coverage by 1.04%.
The diff coverage is 94.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
+ Coverage   96.03%   97.07%   +1.04%     
==========================================
  Files          87      117      +30     
  Lines        1890     3075    +1185     
==========================================
+ Hits         1815     2985    +1170     
- Misses         75       90      +15     
Impacted Files Coverage Δ
lib/avo/app/tools_manager.rb 50.00% <50.00%> (ø)
spec/dummy/app/avo/filters/published_filter.rb 66.66% <66.66%> (ø)
lib/avo/app/action.rb 80.00% <80.00%> (ø)
lib/avo/engine.rb 85.71% <85.71%> (ø)
lib/avo/app/fields/boolean_field.rb 93.75% <87.50%> (ø)
lib/avo/app/app.rb 88.88% <88.88%> (ø)
lib/avo/app/fields/key_value_field.rb 90.90% <90.90%> (ø)
.../avo/app/fields/field_extensions/has_field_name.rb 91.66% <91.66%> (ø)
...lds/field_extensions/visible_in_different_views.rb 92.59% <92.59%> (ø)
lib/avo/app/resource_fields.rb 92.85% <92.85%> (ø)
... and 145 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82fefb2...c1a849e. Read the comment docs.

@adrianthedev adrianthedev merged commit a5ef94c into master Oct 18, 2020
@adrianthedev adrianthedev deleted the feature/authorization branch October 18, 2020 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant