Skip to content

Commit 81b6e15

Browse files
LuhmosNakoGH
andauthored
New module: Centralassociation (#875)
## Description New module to showcase links from the centralassociation website ### Summary <!--Brief description of what this PR does.--> ### Related Issues <!-- If applicable --> Closes #<!--0--> ## Changes Made <!--Please describe the changes made in this pull request--> - ... ## Type of Change - [ ] 🐛 Bug fix (non-breaking change which fixes an issue) - [x] ✨ New feature (non-breaking change which adds functionality) - [ ] 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature) - [ ] 🔧 Infra CI/CD (changes to configs of workflows) - [ ] 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end) ## Impact & Scope - [ ] Core functionality changes - [x] Single module changes - [ ] Multiple modules changes - [ ] Database migrations required - [ ] Other ## Testing - [ ] Added/modified tests that pass the CI - [ ] Tested in a pre-prod - [x] Tested this locally ## Documentation - [ ] Updated docs accordingly (docs.myecl.fr) : <!--[Docs#0 - Title](https://github.com/aeecleclair/myecl-documentation/pull/0)--> - [ ] Code includes docstrings - [x] No documentation needed ## Checklist - [x] My code follows the style guidelines of this project - [x] I have commented my code, particularly in hard-to-understand areas - [x] Any dependent changes have been merged and published (_Indicate the linked PR for the dependent changes_) ## Additional Notes Add any other context, screenshots, or information about the pull request here. --------- Co-authored-by: NakoGH <[email protected]>
1 parent d5fe272 commit 81b6e15

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/modules/centralassociation/__init__.py

Whitespace-only changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from app.core.groups.groups_type import AccountType
2+
from app.types.module import Module
3+
4+
module = Module(
5+
root="centralassociation",
6+
tag="Centralassociation",
7+
default_allowed_account_types=[AccountType.student, AccountType.staff],
8+
factory=None,
9+
)

0 commit comments

Comments
 (0)