Disambiguation in kfet's permission handling #701
No reviewers
Labels
No labels
devtype -- backend
devtype -- docs
devtype -- frontend
devtype -- user interface
difficulty -- easy
difficulty -- hard
difficulty -- normal
Doing
domain -- bda
domain -- bds
domain -- cof
domain -- core
domain -- kfet
Good first issue
priority -- high
priority -- low
priority -- medium
priority -- staff-wanted
status -- development
status -- discussion
status -- need review
status -- production
status -- ready to merge
status -- todo
To Do
type -- bug
type -- hygiene
type -- improvement
type -- new feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/gestioCOF#701
Loading…
Reference in a new issue
No description provided.
Delete branch "kerl/permission_disambiguation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In some places we used to refer to permissions based on their codename
only (the part after the dot "." in the following examples) which can be
ambiguous. Typically, we might define permissions like "bds.is_team" or
"cof.is_team" in the near future ;)
changed milestone to %1
mentioned in merge request !396
added 1 commit
Compare with previous version
T'as de la doc là dessus ? J'arrive pas à trouver...
C'est une feature utilisée pour la serialization : https://docs.djangoproject.com/en/3.0/topics/serialization/#natural-keys.
C'est pas hyper bien documenté mais c'est quand même pratique comme helper…
changed this line in version 3 of the diff
added 1 commit
Compare with previous version
Finalement j'ai remplacé par des vrais
get
.resolved all discussions
added 7 commits
master
64c792b1
- Disambiguation in kfet's permission handling1f945d1a
- Avoid using `get_by_natural_key`Compare with previous version
La CI semble en PLS à cause du force push… Mais les tests normaux passent et vous pouvez tester à la main que les linter et le test de migration aussi
merged
mentioned in commit
d2ba9471da