Non-existent permissions can be granted
Bug #725240 reported by
Max Rabkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Fix Committed
|
Medium
|
Max Rabkin |
Bug Description
You can grant the permission "asdfgl" even though nothing uses that permission. This is a problem if somebody typos a permission or forgets its name (e.g. receivememo instead of recvmemo).
The bot should collect all the permissions used and check the granted/revoked one against the list.
Related branches
lp://staging/~max-rabkin/ibid/perm-check-725240
- Jonathan Hitchcock: Approve
- Stefano Rivera: Approve
-
Diff: 44 lines (+15/-10)1 file modifiedibid/plugins/identity.py (+15/-10)
Changed in ibid: | |
milestone: | none → 0.2.0 |
assignee: | nobody → Max Rabkin (max-rabkin) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ibid: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.