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

Fix model permissions for UserCredential. #94

Merged
merged 1 commit into from
Apr 4, 2016
Merged

Conversation

jimabramson
Copy link

ECOM-3978

@ahsan-ul-haq @awais786 @rlucioni please review.

@jimabramson jimabramson force-pushed the jsa/ecom-3978 branch 2 times, most recently from 2c2d8fd to c6be5d7 Compare April 1, 2016 03:48
The creation (POST) method requires the 'add' permission.
"""
list_path = reverse('api:v1:usercredential-list')
program_certificate = factories.ProgramCertificateFactory(program_id=2)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it necessary to provide the program_id kwarg here?

Copy link
Author

Choose a reason for hiding this comment

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

it seems not - will remove

@jimabramson
Copy link
Author

@tasawernawaz

@rlucioni
Copy link
Contributor

rlucioni commented Apr 2, 2016

👍

1 similar comment
@awais786
Copy link
Contributor

awais786 commented Apr 4, 2016

👍

@schenedx
Copy link
Contributor

schenedx commented Apr 4, 2016

Besides a question, rest LGTM

@jimabramson jimabramson merged commit 75ae689 into master Apr 4, 2016
@jimabramson jimabramson deleted the jsa/ecom-3978 branch April 4, 2016 14:01
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.

4 participants