why does PGProblemEditor.pm check for the modify_student_data permission instead of the modify_problem_sets permission? #1525
Unanswered
ionparticle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, is there a special reason PGProblemEditor.pm in several instances checks for the
modify_student_data
permission instead of themodify_problem_sets
permission? For example:webwork2/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
Lines 135 to 142 in cfb690a
webwork2/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
Lines 452 to 453 in cfb690a
We're trying to create a user role that can edit content but has no power over students/grades. So we'd like to avoid giving this role the
modify_student_data
permission. Would it be ok to replace this withmodify_problem_sets
or perhapsmodify_set_def_files
ormanage_course_files
? There's also amodify_problem_template_files
that still exists indefaults.config
but appears to not be used in code.Beta Was this translation helpful? Give feedback.
All reactions