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

[mobilepaytool] Add permissions to MobilePaytool #230

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

falkecarlsen
Copy link
Member

I completely forgot about permissions when writing #204, so I've mirrored the approach that @hrjakobsen made in #197.

Abstracting batch_payment and mobilepaytool into separate permissions allows stregsystem admins to remove access to - the now legacy - batch payment facility and only allow mobilepaytool access for treo's going forward.

Copy link
Member

@hrjakobsen hrjakobsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-io
Copy link

Codecov Report

Merging #230 (ea82b18) into next (5965110) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next     #230      +/-   ##
==========================================
+ Coverage   82.39%   82.42%   +0.02%     
==========================================
  Files          30       30              
  Lines        2244     2247       +3     
  Branches      157      157              
==========================================
+ Hits         1849     1852       +3     
  Misses        370      370              
  Partials       25       25              
Impacted Files Coverage Δ
stregsystem/models.py 90.68% <100.00%> (+0.06%) ⬆️
stregsystem/views.py 61.13% <100.00%> (+0.18%) ⬆️

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 5965110...bc02cb8. Read the comment docs.

@falkecarlsen falkecarlsen merged commit fbaf833 into next Nov 24, 2020
@falkecarlsen falkecarlsen deleted the feature-mobilepaytool-permissions branch November 24, 2020 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants