[ { "model": "permission.permissionmask", "pk": 1, "fields": { "rank": 0, "description": "Droits basiques" } }, { "model": "permission.permissionmask", "pk": 2, "fields": { "rank": 1, "description": "Droits note seulement" } }, { "model": "permission.permissionmask", "pk": 3, "fields": { "rank": 42, "description": "Tous mes droits" } }, { "model": "permission.permission", "pk": 1, "fields": { "model": [ "auth", "user" ], "query": "{\"pk\": [\"user\", \"pk\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View our User object" } }, { "model": "permission.permission", "pk": 2, "fields": { "model": [ "member", "profile" ], "query": "{\"user\": [\"user\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View our profile" } }, { "model": "permission.permission", "pk": 3, "fields": { "model": [ "note", "noteuser" ], "query": "{\"pk\": [\"user\", \"note\", \"pk\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View our own note" } }, { "model": "permission.permission", "pk": 4, "fields": { "model": [ "authtoken", "token" ], "query": "{\"user\": [\"user\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View our API token" } }, { "model": "permission.permission", "pk": 5, "fields": { "model": [ "note", "transaction" ], "query": "[\"OR\", {\"source\": [\"user\", \"note\"]}, {\"destination\": [\"user\", \"note\"]}]", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View our own transactions" } }, { "model": "permission.permission", "pk": 6, "fields": { "model": [ "note", "alias" ], "query": "[\"AND\", [\"OR\", {\"note__in\": [\"NoteUser\", \"objects\", [\"filter\", {\"user__memberships__club__name\": \"Kfet\"}], [\"all\"]]}, {\"note__in\": [\"NoteClub\", \"objects\", [\"all\"]]}], {\"note__is_active\": true}]", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View aliases of clubs and members of Kfet club" } }, { "model": "permission.permission", "pk": 7, "fields": { "model": [ "auth", "user" ], "query": "{\"pk\": [\"user\", \"pk\"]}", "type": "change", "mask": 1, "field": "last_login", "permanent": false, "description": "Change myself's last login" } }, { "model": "permission.permission", "pk": 8, "fields": { "model": [ "auth", "user" ], "query": "{\"pk\": [\"user\", \"pk\"]}", "type": "change", "mask": 1, "field": "username", "permanent": true, "description": "Change myself's username" } }, { "model": "permission.permission", "pk": 9, "fields": { "model": [ "auth", "user" ], "query": "{\"pk\": [\"user\", \"pk\"]}", "type": "change", "mask": 1, "field": "first_name", "permanent": true, "description": "Change myself's first name" } }, { "model": "permission.permission", "pk": 10, "fields": { "model": [ "auth", "user" ], "query": "{\"pk\": [\"user\", \"pk\"]}", "type": "change", "mask": 1, "field": "last_name", "permanent": true, "description": "Change myself's last name" } }, { "model": "permission.permission", "pk": 11, "fields": { "model": [ "auth", "user" ], "query": "{\"pk\": [\"user\", \"pk\"]}", "type": "change", "mask": 1, "field": "email", "permanent": true, "description": "Change myself's email" } }, { "model": "permission.permission", "pk": 12, "fields": { "model": [ "authtoken", "token" ], "query": "{\"user\": [\"user\"]}", "type": "delete", "mask": 1, "field": "", "permanent": false, "description": "Delete API Token" } }, { "model": "permission.permission", "pk": 13, "fields": { "model": [ "authtoken", "token" ], "query": "{\"user\": [\"user\"]}", "type": "add", "mask": 1, "field": "", "permanent": true, "description": "Create API Token" } }, { "model": "permission.permission", "pk": 14, "fields": { "model": [ "note", "alias" ], "query": "{\"note\": [\"user\", \"note\"]}", "type": "delete", "mask": 1, "field": "", "permanent": false, "description": "Remove alias" } }, { "model": "permission.permission", "pk": 15, "fields": { "model": [ "note", "alias" ], "query": "{\"note\": [\"user\", \"note\"]}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Add alias" } }, { "model": "permission.permission", "pk": 16, "fields": { "model": [ "note", "noteuser" ], "query": "{\"pk\": [\"user\", \"note\", \"pk\"]}", "type": "change", "mask": 1, "field": "display_image", "permanent": false, "description": "Change myself's display image" } }, { "model": "permission.permission", "pk": 17, "fields": { "model": [ "note", "transaction" ], "query": "[\"AND\", {\"source\": [\"user\", \"note\"]}, [\"OR\", {\"amount__lte\": [\"user\", \"note\", \"balance\"]}, {\"valid\": false}]]", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Transfer from myself's note" } }, { "model": "permission.permission", "pk": 18, "fields": { "model": [ "note", "note" ], "query": "{}", "type": "change", "mask": 1, "field": "balance", "permanent": false, "description": "Update a note balance with a transaction" } }, { "model": "permission.permission", "pk": 19, "fields": { "model": [ "note", "note" ], "query": "[\"OR\", {\"pk\": [\"club\", \"note\", \"pk\"]}, {\"pk__in\": [\"NoteUser\", \"objects\", [\"filter\", {\"user__memberships__club\": [\"club\"]}], [\"all\"]]}]", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "View notes of club members" } }, { "model": "permission.permission", "pk": 20, "fields": { "model": [ "note", "transaction" ], "query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": false}]]", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Create transactions with a club" } }, { "model": "permission.permission", "pk": 21, "fields": { "model": [ "note", "recurrenttransaction" ], "query": "[\"AND\", {\"destination\": [\"club\", \"note\"]}, [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": false}]]", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Create transactions from buttons with a club" } }, { "model": "permission.permission", "pk": 22, "fields": { "model": [ "member", "club" ], "query": "{\"pk\": [\"club\", \"pk\"]}", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View club infos" } }, { "model": "permission.permission", "pk": 23, "fields": { "model": [ "note", "transaction" ], "query": "{}", "type": "change", "mask": 1, "field": "valid", "permanent": false, "description": "Update validation status of a transaction" } }, { "model": "permission.permission", "pk": 24, "fields": { "model": [ "note", "transaction" ], "query": "{}", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "View all transactions" } }, { "model": "permission.permission", "pk": 25, "fields": { "model": [ "note", "notespecial" ], "query": "{}", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "Display credit/debit interface" } }, { "model": "permission.permission", "pk": 26, "fields": { "model": [ "note", "specialtransaction" ], "query": "{}", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Create credit/debit transaction" } }, { "model": "permission.permission", "pk": 27, "fields": { "model": [ "note", "templatecategory" ], "query": "{}", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "View button categories" } }, { "model": "permission.permission", "pk": 28, "fields": { "model": [ "note", "templatecategory" ], "query": "{}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Change button category" } }, { "model": "permission.permission", "pk": 29, "fields": { "model": [ "note", "templatecategory" ], "query": "{}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Add button category" } }, { "model": "permission.permission", "pk": 30, "fields": { "model": [ "note", "transactiontemplate" ], "query": "{}", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "View buttons" } }, { "model": "permission.permission", "pk": 31, "fields": { "model": [ "note", "transactiontemplate" ], "query": "{}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Add buttons" } }, { "model": "permission.permission", "pk": 32, "fields": { "model": [ "note", "transactiontemplate" ], "query": "{}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Update buttons" } }, { "model": "permission.permission", "pk": 33, "fields": { "model": [ "note", "transaction" ], "query": "{}", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Create any transaction" } }, { "model": "permission.permission", "pk": 34, "fields": { "model": [ "activity", "activity" ], "query": "[\"OR\", {\"valid\": true}, {\"creater\": [\"user\"]}]", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View valid activites" } }, { "model": "permission.permission", "pk": 35, "fields": { "model": [ "activity", "activity" ], "query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]", "type": "change", "mask": 1, "field": "", "permanent": false, "description": "Change our activities" } }, { "model": "permission.permission", "pk": 36, "fields": { "model": [ "activity", "activity" ], "query": "{\"creater\": [\"user\"], \"valid\": false}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Add activities" } }, { "model": "permission.permission", "pk": 37, "fields": { "model": [ "activity", "activity" ], "query": "{}", "type": "change", "mask": 2, "field": "valid", "permanent": false, "description": "Validate activities" } }, { "model": "permission.permission", "pk": 38, "fields": { "model": [ "activity", "activity" ], "query": "{}", "type": "change", "mask": 2, "field": "open", "permanent": false, "description": "Open activities" } }, { "model": "permission.permission", "pk": 39, "fields": { "model": [ "activity", "guest" ], "query": "{\"inviter\": [\"user\", \"note\"], \"activity__activity_type__can_invite\": true}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Invite people to activities" } }, { "model": "permission.permission", "pk": 40, "fields": { "model": [ "activity", "guest" ], "query": "{\"inviter\": [\"user\", \"note\"]}", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View invited people" } }, { "model": "permission.permission", "pk": 41, "fields": { "model": [ "activity", "activity" ], "query": "{}", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "View all activities" } }, { "model": "permission.permission", "pk": 42, "fields": { "model": [ "activity", "guest" ], "query": "{}", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "View all invited people" } }, { "model": "permission.permission", "pk": 43, "fields": { "model": [ "activity", "entry" ], "query": "{}", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Manage entries" } }, { "model": "permission.permission", "pk": 44, "fields": { "model": [ "activity", "guesttransaction" ], "query": "{}", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Add invitation transactions" } }, { "model": "permission.permission", "pk": 45, "fields": { "model": [ "activity", "guesttransaction" ], "query": "{}", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View invitation transactions" } }, { "model": "permission.permission", "pk": 46, "fields": { "model": [ "activity", "guesttransaction" ], "query": "{}", "type": "change", "mask": 2, "field": "valid", "permanent": false, "description": "Validate invitation transactions" } }, { "model": "permission.permission", "pk": 47, "fields": { "model": [ "member", "club" ], "query": "{\"pk\": [\"club\", \"pk\"]}", "type": "change", "mask": 1, "field": "", "permanent": false, "description": "Update club" } }, { "model": "permission.permission", "pk": 48, "fields": { "model": [ "member", "membership" ], "query": "{\"user\": [\"user\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View our memberships" } }, { "model": "permission.permission", "pk": 49, "fields": { "model": [ "member", "membership" ], "query": "{\"club\": [\"club\"]}", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View club's memberships" } }, { "model": "permission.permission", "pk": 50, "fields": { "model": [ "member", "membership" ], "query": "{\"club\": [\"club\"]}", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Add a membership to a club" } }, { "model": "permission.permission", "pk": 51, "fields": { "model": [ "member", "membership" ], "query": "{\"club\": [\"club\"]}", "type": "change", "mask": 2, "field": "roles", "permanent": false, "description": "Update user roles" } }, { "model": "permission.permission", "pk": 52, "fields": { "model": [ "member", "profile" ], "query": "{\"user\": [\"user\"]}", "type": "change", "mask": 1, "field": "", "permanent": false, "description": "Change own profile" } }, { "model": "permission.permission", "pk": 53, "fields": { "model": [ "member", "profile" ], "query": "{}", "type": "change", "mask": 2, "field": "", "permanent": false, "description": "Change any profile" } }, { "model": "permission.permission", "pk": 54, "fields": { "model": [ "auth", "user" ], "query": "{}", "type": "change", "mask": 2, "field": "", "permanent": false, "description": "Change any user" } }, { "model": "permission.permission", "pk": 55, "fields": { "model": [ "auth", "user" ], "query": "{}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Add user" } }, { "model": "permission.permission", "pk": 56, "fields": { "model": [ "member", "profile" ], "query": "{\"email_confirmed\": false, \"registration_valid\": false}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Add profile" } }, { "model": "permission.permission", "pk": 57, "fields": { "model": [ "auth", "user" ], "query": "{\"profile__registration_valid\": false}", "type": "delete", "mask": 2, "field": "", "permanent": false, "description": "Delete pre-registered user" } }, { "model": "permission.permission", "pk": 58, "fields": { "model": [ "member", "profile" ], "query": "{\"registration_valid\": false}", "type": "delete", "mask": 2, "field": "", "permanent": false, "description": "Delete pre-registered user profile" } }, { "model": "permission.permission", "pk": 59, "fields": { "model": [ "note", "transactiontemplate" ], "query": "{\"destination\": [\"club\", \"note\"]}", "type": "view", "mask": 2, "field": "", "permanent": false, "description": "New club button" } }, { "model": "permission.permission", "pk": 60, "fields": { "model": [ "note", "transactiontemplate" ], "query": "{\"destination\": [\"club\", \"note\"]}", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Create club button" } }, { "model": "permission.permission", "pk": 61, "fields": { "model": [ "note", "transactiontemplate" ], "query": "{\"destination\": [\"club\", \"note\"]}", "type": "change", "mask": 2, "field": "", "permanent": false, "description": "Update club button" } }, { "model": "permission.permission", "pk": 62, "fields": { "model": [ "note", "transaction" ], "query": "[\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}]", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View transactions of a club" } }, { "model": "permission.permission", "pk": 63, "fields": { "model": [ "treasury", "invoice" ], "query": "{}", "type": "view", "mask": 3, "field": "", "permanent": false, "description": "View invoices" } }, { "model": "permission.permission", "pk": 64, "fields": { "model": [ "treasury", "invoice" ], "query": "{}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Add invoice" } }, { "model": "permission.permission", "pk": 65, "fields": { "model": [ "treasury", "invoice" ], "query": "{}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Change invoice" } }, { "model": "permission.permission", "pk": 66, "fields": { "model": [ "treasury", "product" ], "query": "{}", "type": "view", "mask": 3, "field": "", "permanent": false, "description": "View products" } }, { "model": "permission.permission", "pk": 67, "fields": { "model": [ "treasury", "product" ], "query": "{}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Add products" } }, { "model": "permission.permission", "pk": 68, "fields": { "model": [ "treasury", "product" ], "query": "{}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Change product" } }, { "model": "permission.permission", "pk": 69, "fields": { "model": [ "treasury", "product" ], "query": "{}", "type": "delete", "mask": 3, "field": "", "permanent": false, "description": "Delete product" } }, { "model": "permission.permission", "pk": 70, "fields": { "model": [ "treasury", "sogecredit" ], "query": "{\"credit_transaction\": null}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Add Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credit" } }, { "model": "permission.permission", "pk": 71, "fields": { "model": [ "treasury", "sogecredit" ], "query": "{}", "type": "view", "mask": 3, "field": "", "permanent": false, "description": "View all Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credits" } }, { "model": "permission.permission", "pk": 72, "fields": { "model": [ "treasury", "sogecredit" ], "query": "{}", "type": "change", "mask": 1, "field": "", "permanent": false, "description": "Update Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credit" } }, { "model": "permission.permission", "pk": 73, "fields": { "model": [ "treasury", "sogecredit" ], "query": "{}", "type": "delete", "mask": 3, "field": "", "permanent": false, "description": "Delete Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credit" } }, { "model": "permission.permission", "pk": 74, "fields": { "model": [ "wei", "weiclub" ], "query": "{}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Create a WEI" } }, { "model": "permission.permission", "pk": 75, "fields": { "model": [ "wei", "weiclub" ], "query": "{}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Update all WEI" } }, { "model": "permission.permission", "pk": 76, "fields": { "model": [ "wei", "weiclub" ], "query": "{\"pk\": [\"club\", \"pk\"]}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Update this WEI" } }, { "model": "permission.permission", "pk": 77, "fields": { "model": [ "wei", "weiclub" ], "query": "{\"pk\": [\"club\", \"pk\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View my WEI" } }, { "model": "permission.permission", "pk": 78, "fields": { "model": [ "wei", "weiclub" ], "query": "{\"membership_start__lte\": [\"today\"], \"year\": [\"today\", \"year\"]}", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View last WEI" } }, { "model": "permission.permission", "pk": 79, "fields": { "model": [ "wei", "weirole" ], "query": "{}", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View WEI Roles" } }, { "model": "permission.permission", "pk": 80, "fields": { "model": [ "wei", "weirole" ], "query": "{}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Add WEI Role" } }, { "model": "permission.permission", "pk": 81, "fields": { "model": [ "wei", "weirole" ], "query": "{}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Change WEI Role" } }, { "model": "permission.permission", "pk": 82, "fields": { "model": [ "wei", "weirole" ], "query": "{}", "type": "delete", "mask": 3, "field": "", "permanent": false, "description": "Delete WEI Role" } }, { "model": "permission.permission", "pk": 83, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"user\": [\"user\"], \"wei__year\": [\"today\", \"year\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Register myself to the last WEI" } }, { "model": "permission.permission", "pk": 84, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"first_year\": true, \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Register first year members to the last WEI" } }, { "model": "permission.permission", "pk": 85, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Register anyone to this WEI" } }, { "model": "permission.permission", "pk": 86, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"]}", "type": "delete", "mask": 1, "field": "", "permanent": false, "description": "Delete WEI registration" } }, { "model": "permission.permission", "pk": 87, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "view", "mask": 1, "field": "", "permanent": false, "description": "View my own WEI registration" } }, { "model": "permission.permission", "pk": 88, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View all WEI Registrations" } }, { "model": "permission.permission", "pk": 89, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "soge_credit", "permanent": false, "description": "Update the soge credit field of any WEI Registration" } }, { "model": "permission.permission", "pk": 90, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "soge_credit", "permanent": false, "description": "Update the soge credit field of my own WEI Registration" } }, { "model": "permission.permission", "pk": 91, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "caution_check", "permanent": false, "description": "Update the caution check field of any WEI Registration" } }, { "model": "permission.permission", "pk": 92, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "birth_date", "permanent": false, "description": "Update the birth date of any WEI Registration" } }, { "model": "permission.permission", "pk": 93, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "birth_date", "permanent": false, "description": "Update the birth date of my own WEI Registration" } }, { "model": "permission.permission", "pk": 94, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "gender", "permanent": false, "description": "Update the gender of any WEI Registration" } }, { "model": "permission.permission", "pk": 95, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "gender", "permanent": false, "description": "Update the gender of my own WEI Registration" } }, { "model": "permission.permission", "pk": 96, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "health_issues", "permanent": false, "description": "Update the health issues of any WEI Registration" } }, { "model": "permission.permission", "pk": 97, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "health_issues", "permanent": false, "description": "Update the health issues of my own WEI Registration" } }, { "model": "permission.permission", "pk": 98, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "emergency_contact_name", "permanent": false, "description": "Update the emergency contact name of any WEI Registration" } }, { "model": "permission.permission", "pk": 99, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "emergency_contact_name", "permanent": false, "description": "Update the emergency contact name of my own WEI Registration" } }, { "model": "permission.permission", "pk": 100, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "emergency_contact_phone", "permanent": false, "description": "Update the emergency contact phone of any WEI Registration" } }, { "model": "permission.permission", "pk": 101, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "emergency_contact_phone", "permanent": false, "description": "Update the emergency contact phone of my own WEI Registration" } }, { "model": "permission.permission", "pk": 102, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "information_json", "permanent": false, "description": "Update information of any WEI registration" } }, { "model": "permission.permission", "pk": 103, "fields": { "model": [ "wei", "bus" ], "query": "{\"wei\": [\"club\"]}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Add a bus for the current WEI" } }, { "model": "permission.permission", "pk": 104, "fields": { "model": [ "wei", "bus" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 3, "field": "name", "permanent": false, "description": "Update the name of a bus for the last WEI" } }, { "model": "permission.permission", "pk": 105, "fields": { "model": [ "wei", "bus" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 3, "field": "description", "permanent": false, "description": "Update the description of a bus for the last WEI" } }, { "model": "permission.permission", "pk": 106, "fields": { "model": [ "wei", "busteam" ], "query": "{\"bus__wei\": [\"club\"], \"bus__wei__membership_end__gte\": [\"today\"]}", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Create a bus team for the last WEI" } }, { "model": "permission.permission", "pk": 107, "fields": { "model": [ "wei", "busteam" ], "query": "{\"bus__wei\": [\"club\"], \"bus__wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 3, "field": "", "permanent": false, "description": "Update a bus team for the last WEI" } }, { "model": "permission.permission", "pk": 108, "fields": { "model": [ "wei", "bus" ], "query": "[\"AND\", {\"wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"weimembership\", \"registration\", \"first_year\"]], {\"wei__date_end__lte\": [\"today\"]}]]", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View buses of the last WEI" } }, { "model": "permission.permission", "pk": 109, "fields": { "model": [ "wei", "busteam" ], "query": "[\"AND\", {\"bus__wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"weimembership\", \"registration\", \"first_year\"]], {\"bus__wei__date_end__lte\": [\"today\"]}]]", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View bus teams of the last WEI" } }, { "model": "permission.permission", "pk": 110, "fields": { "model": [ "wei", "weimembership" ], "query": "[\"AND\", {\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}, [\"OR\", {\"registration__soge_credit\": true}, {\"user__note__balance__gte\": {\"F\": [\"F\", \"fee\"]}}]]", "type": "add", "mask": 3, "field": "", "permanent": false, "description": "Create a WEI membership for the last WEI" } }, { "model": "permission.permission", "pk": 111, "fields": { "model": [ "wei", "weimembership" ], "query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "bus", "permanent": false, "description": "Update the bus of a WEI membership" } }, { "model": "permission.permission", "pk": 112, "fields": { "model": [ "wei", "weimembership" ], "query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "team", "permanent": false, "description": "Update the team of a WEI membership" } }, { "model": "permission.permission", "pk": 113, "fields": { "model": [ "wei", "weimembership" ], "query": "{\"club\": [\"club\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View all WEI Memberships for the last WEI" } }, { "model": "permission.permission", "pk": 114, "fields": { "model": [ "wei", "weimembership" ], "query": "[\"AND\", {\"user\": [\"user\"], \"club\": [\"club\"]}, [\"OR\", {\"registration__first_year\": false, \"club__weiclub__date_end__lte\": [\"today\"]}]]", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View my own WEI membership if I am an old member or if the WEI is past" } }, { "model": "permission.permission", "pk": 115, "fields": { "model": [ "wei", "weimembership" ], "query": "{\"club\": [\"club\"], \"bus\": [\"membership\", \"weimembership\", \"bus\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View the members of the bus" } }, { "model": "permission.permission", "pk": 116, "fields": { "model": [ "wei", "weimembership" ], "query": "{\"club\": [\"club\"], \"team\": [\"membership\", \"weimembership\", \"team\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View the members of the team" } }, { "model": "permission.permission", "pk": 117, "fields": { "model": [ "wei", "bus" ], "query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "name", "permanent": false, "description": "Update the name of my bus" } }, { "model": "permission.permission", "pk": 118, "fields": { "model": [ "wei", "bus" ], "query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "description", "permanent": false, "description": "Update the description of my bus" } }, { "model": "permission.permission", "pk": 119, "fields": { "model": [ "wei", "busteam" ], "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}", "type": "add", "mask": 1, "field": "", "permanent": false, "description": "Add a team to my bus" } }, { "model": "permission.permission", "pk": 120, "fields": { "model": [ "wei", "busteam" ], "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "name", "permanent": false, "description": "Update the name of a team of my bus" } }, { "model": "permission.permission", "pk": 121, "fields": { "model": [ "wei", "busteam" ], "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "color", "permanent": false, "description": "Update the color of a team of my bus" } }, { "model": "permission.permission", "pk": 122, "fields": { "model": [ "wei", "busteam" ], "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "description", "permanent": false, "description": "Update the description of a team of my bus" } }, { "model": "permission.permission", "pk": 123, "fields": { "model": [ "wei", "busteam" ], "query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "name", "permanent": false, "description": "Update the name of my team" } }, { "model": "permission.permission", "pk": 124, "fields": { "model": [ "wei", "busteam" ], "query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "color", "permanent": false, "description": "Update the color of my team" } }, { "model": "permission.permission", "pk": 125, "fields": { "model": [ "wei", "busteam" ], "query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "description", "permanent": false, "description": "Update the description of my team" } }, { "model": "permission.permission", "pk": 126, "fields": { "model": [ "activity", "activity" ], "query": "{\"entries__note__user\": [\"user\"]}", "type": "view", "mask": 1, "field": "", "permanent": true, "description": "View my past activities" } }, { "model": "permission.permission", "pk": 127, "fields": { "model": [ "note", "transaction" ], "query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": true}]]", "type": "change", "mask": 1, "field": "valid", "permanent": false, "description": "Update validation status of a club transaction if possible" } }, { "model": "permission.permission", "pk": 128, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "clothing_cut", "permanent": false, "description": "Update the clothing cut field of any WEI Registration" } }, { "model": "permission.permission", "pk": 129, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "clothing_cut", "permanent": false, "description": "Update the clothing cut field of my own WEI Registration" } }, { "model": "permission.permission", "pk": 130, "fields": { "model": [ "wei", "weiregistration" ], "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}", "type": "change", "mask": 1, "field": "clothing_size", "permanent": false, "description": "Update the clothing size field of any WEI Registration" } }, { "model": "permission.permission", "pk": 131, "fields": { "model": [ "wei", "weiregistration" ], "query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]", "type": "change", "mask": 1, "field": "clothing_size", "permanent": false, "description": "Update the clothing size field of my own WEI Registration" } }, { "model": "permission.permission", "pk": 132, "fields": { "model": [ "note", "recurrenttransaction" ], "query": "{}", "type": "add", "mask": 2, "field": "", "permanent": false, "description": "Create any recurrent transaction" } }, { "model": "permission.permission", "pk": 133, "fields": { "model": [ "note", "transaction" ], "query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": true}]]", "type": "change", "mask": 1, "field": "invalidity_reason", "permanent": false, "description": "Update invalidity reason of a club transaction if possible" } }, { "model": "permission.permission", "pk": 134, "fields": { "model": [ "note", "transaction" ], "query": "{}", "type": "change", "mask": 1, "field": "invalidity_reason", "permanent": false, "description": "Update invalidity reason of a transaction" } }, { "model": "permission.role", "pk": 1, "fields": { "for_club": 1, "name": "Adh\u00e9rent BDE", "permissions": [ 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 48, 52, 126 ] } }, { "model": "permission.role", "pk": 2, "fields": { "for_club": 2, "name": "Adh\u00e9rent Kfet", "permissions": [ 34, 35, 36, 6, 39, 40, 70, 14, 15, 16, 17, 18, 78, 79, 83, 90, 93, 95, 97, 99, 101, 108, 109 ] } }, { "model": "permission.role", "pk": 3, "fields": { "for_club": null, "name": "Membre de club", "permissions": [] } }, { "model": "permission.role", "pk": 4, "fields": { "for_club": null, "name": "Bureau de club", "permissions": [ 22, 47, 49 ] } }, { "model": "permission.role", "pk": 5, "fields": { "for_club": null, "name": "Pr\u00e9sident\u00b7e de club", "permissions": [ 50, 51, 62 ] } }, { "model": "permission.role", "pk": 6, "fields": { "for_club": null, "name": "Tr\u00e9sorier\u00b7\u00e8re de club", "permissions": [ 59, 19, 20, 21, 27, 60, 61, 62, 127, 133 ] } }, { "model": "permission.role", "pk": 7, "fields": { "for_club": 1, "name": "Pr\u00e9sident\u00b7e BDE", "permissions": [ 24, 25, 26, 27, 33 ] } }, { "model": "permission.role", "pk": 8, "fields": { "for_club": 1, "name": "Tr\u00e9sorier\u00b7\u00e8re BDE", "permissions": [ 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 53, 54, 55, 56, 57, 58, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 132, 134 ] } }, { "model": "permission.role", "pk": 9, "fields": { "for_club": 1, "name": "Respo info", "permissions": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134 ] } }, { "model": "permission.role", "pk": 10, "fields": { "for_club": 2, "name": "GC Kfet", "permissions": [ 32, 33, 56, 58, 55, 57, 52, 53, 54, 23, 24, 25, 26, 27, 28, 29, 30, 31 ] } }, { "model": "permission.role", "pk": 11, "fields": { "for_club": 2, "name": "Res[pot]", "permissions": [ 37, 38, 41, 42, 43, 44, 45, 46 ] } }, { "model": "permission.role", "pk": 12, "fields": { "for_club": null, "name": "GC WEI", "permissions": [ 76, 80, 81, 82, 85, 86, 88, 89, 91, 92, 94, 96, 98, 100, 102, 103, 104, 105, 106, 107, 110, 111, 112, 113, 130, 131 ] } }, { "model": "permission.role", "pk": 13, "fields": { "for_club": null, "name": "Chef de bus", "permissions": [ 117, 118, 120, 121, 122, 115 ] } }, { "model": "permission.role", "pk": 14, "fields": { "for_club": null, "name": "Chef d'\u00e9quipe", "permissions": [ 116, 123, 124, 125 ] } }, { "model": "permission.role", "pk": 15, "fields": { "for_club": null, "name": "\u00c9lectron libre", "permissions": [] } }, { "model": "permission.role", "pk": 16, "fields": { "for_club": null, "name": "\u00c9lectron libre (avec perm)", "permissions": [] } }, { "model": "permission.role", "pk": 17, "fields": { "for_club": null, "name": "1A", "permissions": [] } }, { "model": "permission.role", "pk": 18, "fields": { "for_club": null, "name": "Adhérent WEI", "permissions": [ 77, 84, 87, 90, 93, 95, 97, 99, 101, 108, 109, 114, 128, 130 ] } }, { "model": "wei.weirole", "pk": 12, "fields": {} }, { "model": "wei.weirole", "pk": 13, "fields": {} }, { "model": "wei.weirole", "pk": 14, "fields": {} }, { "model": "wei.weirole", "pk": 15, "fields": {} }, { "model": "wei.weirole", "pk": 16, "fields": {} }, { "model": "wei.weirole", "pk": 17, "fields": {} }, { "model": "wei.weirole", "pk": 18, "fields": {} } ]