Convert @require_certificate_permission to use user.has_perm

Description

On or around line 227 of lms/djangoapps/certificates/views/support.py, convert @require_certificate_permission to use user.has_perm(GENERATE_ALL_CERTIFICATES) instead.
Define GENERATE_ALL_CERTIFICATES = 'certificates.generate_all_certificates' in certificates/permissions.py
Add perms[GENERATE_ALL_CERTIFICATES] = HasAccessRule(...) to certificates/permissions.py
See https://github.com/edx/edx-platform/pull/21255/files as an example.
This issue was generated from https://docs.google.com/spreadsheets/d/1WyP5TQUp8xhhtYndNFJDDeCc1g1nz-3YJye-xdG8IPI/edit#gid=284364275&fvid=912579421

Status

Assignee

Unassigned

Reporter

Calen Pennington

Labels

None

Priority

Unset
Configure