Show More
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?...
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available? - add max score query
References:
File last commit:
Show/Diff file:
Action:
test/fixtures/rights.yml | 13 lines | 237 B | text/x-yaml | YamlLexer |
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
graders_right:
controller: graders
action: all
user_admin_right:
controller: user_admin
action: all
problems_right:
controller: problems
action: all