Skip to content

Commit d95f8af

Browse files
Change suggested comments changes.
1 parent ae10827 commit d95f8af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/services/extension_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def self.grant_extension(project_id, task_definition_id, user, weeks_requested,
1717
# Check if extension would exceed deadline
1818
return { success: false, error: 'Extensions cannot be granted beyond task deadline', status: 403 } if duration <= 0
1919

20-
# ===== Student Request Logic (current endpoint) =====
20+
# ===== Student-Initiated Extension Logic (current endpoint) =====
2121
unless is_staff_grant
2222
# Check task-level authorization for student requests with specific permission hash
2323
unless AuthorisationHelpers.authorise?(user, task, :request_extension, ->(role, perm_hash, other) { task.specific_permission_hash(role, perm_hash, other) })

0 commit comments

Comments
 (0)