Disambiguation in kfet's permission handling #701

Merged
mpepin merged 0 commits from kerl/permission_disambiguation into master 2019-12-25 17:45:04 +01:00
mpepin commented 2019-12-21 16:52:26 +01:00 (Migrated from git.eleves.ens.fr)

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 ;)

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 ;)
mpepin commented 2019-12-21 16:52:27 +01:00 (Migrated from git.eleves.ens.fr)

changed milestone to %1

changed milestone to %1
mpepin commented 2019-12-21 16:53:04 +01:00 (Migrated from git.eleves.ens.fr)

mentioned in merge request !396

mentioned in merge request !396
mpepin commented 2019-12-21 17:09:54 +01:00 (Migrated from git.eleves.ens.fr)

added 1 commit

  • 705f93ba - Disambiguation in kfet's permission handling

Compare with previous version

added 1 commit <ul><li>705f93ba - Disambiguation in kfet&#39;s permission handling</li></ul> [Compare with previous version](/klub-dev-ens/gestioCOF/merge_requests/397/diffs?diff_id=1414&start_sha=20d6ba740448606d576c4bfacae51ce9ec9df3e6)
lstephan commented 2019-12-23 00:12:11 +01:00 (Migrated from git.eleves.ens.fr)

T'as de la doc là dessus ? J'arrive pas à trouver...

T'as de la doc là dessus ? J'arrive pas à trouver...
mpepin commented 2019-12-23 00:18:32 +01:00 (Migrated from git.eleves.ens.fr)

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…

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…
mpepin commented 2019-12-24 17:14:47 +01:00 (Migrated from git.eleves.ens.fr)

changed this line in version 3 of the diff

changed this line in [version 3 of the diff](/klub-dev-ens/gestioCOF/merge_requests/397/diffs?diff_id=1431&start_sha=705f93ba07615560f6232f53dcc933c3813034a3#37d31cd6996aa6d0e0908e60508b885a692bc8d3_207_209)
mpepin commented 2019-12-24 17:14:48 +01:00 (Migrated from git.eleves.ens.fr)

added 1 commit

  • 4a89f766 - Avoid using `get_by_natural_key`

Compare with previous version

added 1 commit <ul><li>4a89f766 - Avoid using `get_by_natural_key`</li></ul> [Compare with previous version](/klub-dev-ens/gestioCOF/merge_requests/397/diffs?diff_id=1431&start_sha=705f93ba07615560f6232f53dcc933c3813034a3)
mpepin commented 2019-12-24 17:16:25 +01:00 (Migrated from git.eleves.ens.fr)

Finalement j'ai remplacé par des vrais get.

Finalement j'ai remplacé par des vrais `get`.
mpepin commented 2019-12-24 17:16:25 +01:00 (Migrated from git.eleves.ens.fr)

resolved all discussions

resolved all discussions
mpepin commented 2019-12-24 17:16:37 +01:00 (Migrated from git.eleves.ens.fr)

added 7 commits

  • 4a89f766...67e28c70 - 5 commits from branch master
  • 64c792b1 - Disambiguation in kfet's permission handling
  • 1f945d1a - Avoid using `get_by_natural_key`

Compare with previous version

added 7 commits <ul><li>4a89f766...67e28c70 - 5 commits from branch <code>master</code></li><li>64c792b1 - Disambiguation in kfet&#39;s permission handling</li><li>1f945d1a - Avoid using `get_by_natural_key`</li></ul> [Compare with previous version](/klub-dev-ens/gestioCOF/merge_requests/397/diffs?diff_id=1432&start_sha=4a89f7664e0fd7cb8d69980ed2179125a528b28b)
mpepin commented 2019-12-24 17:46:25 +01:00 (Migrated from git.eleves.ens.fr)

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

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
lstephan commented 2019-12-25 17:45:04 +01:00 (Migrated from git.eleves.ens.fr)

merged

merged
lstephan commented 2019-12-25 17:45:04 +01:00 (Migrated from git.eleves.ens.fr)

mentioned in commit d2ba9471da

mentioned in commit d2ba9471dadce4e4cc1c735c45e9b0b62d90e3b1
Sign in to join this conversation.
No reviewers
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DGNum/gestioCOF#701
No description provided.