Some very important values that are used as permission role names and also core Module and Policy names are hardcoded whenever used as opposed to being constants and defined just the once.
This increases the chance of typos in the codebase and logic errors as a result.
None, but had to manually check all the usages to make sure they were ok.
My eyes and a search function within my IDE.
Put all these values into CONSTANTS and use the constant instead. An exmaple of the hardcoded keycodes is below.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.