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

Expose Task.prerequisite_achievements #134

Open
mhrivnak opened this issue Mar 15, 2012 · 2 comments
Open

Expose Task.prerequisite_achievements #134

mhrivnak opened this issue Mar 15, 2012 · 2 comments

Comments

@mhrivnak
Copy link
Member

This attribute isn't available through the TaskManager but should be. Also please verify that the prerequisites are enforced.

Admins should see and edit this.
Anyone who can read Task details should be able to read this attribute.

This is a blocker for AmericanResearchInstitute/poweru-client#59

@ghost ghost assigned jc0n Mar 16, 2012
@jc0n
Copy link
Member

jc0n commented Mar 16, 2012

It appears that they are not enforced anywhere. I'm a bit unclear as to the exact circumstances in which they would be validated.

I am thinking that we would want to add an authorizer check method for 'Object Owner', the only role besides admin that can create an AssignmentAttempt. The check would validate that the prerequisite achievements are granted for the assignment task before the attempt is created.

@mhrivnak
Copy link
Member Author

That sounds completely reasonable.
On Mar 16, 2012 6:55 PM, "John O'Connor" <
reply@reply.github.com>
wrote:

It appears that they are not enforced anywhere. I'm a bit unclear as to
the exact circumstances in which they would be validated.

I am thinking that we would want to add an authorizer check method for
'Object Owner', the only role besides admin that can create an
AssignmentAttempt. The check would validate that the prerequisite
achievements are granted for the assignment task before the attempt is
created.


Reply to this email directly or view it on GitHub:

#134 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants