-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New AuthorizationHandler to check the census from an excel file #7
Labels
Milestone
Comments
xredo
changed the title
New AuthorizationHandler to checks the census from an excel file
New AuthorizationHandler to check the census from an excel file
Nov 3, 2017
There are new requirements regarding the upload of the Excel files: Remove census for an organization and incremental updates. Incremental updatesWhen a new CSC is uploaded we won't remove any existing record. We will load the new ones incrementally. Remove CensusA new button in the Census admin view is required to remove all the Census that has been loaded for an organization. |
Additional tasks:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
A new AuthorizationHandler will be created to allow new users to be validated against a census that will be uploaded from an excel file. The AuthorizationHandler will accept the citizen minimum age as a configuration parameter. If the user doesn't meet the age requirement configured in the parameter it won't be authorised.
The excel file will have a CSV format and it will contain the following data for every user:
The excel file will be uploaded from the Admin Panel of every organisation. Only users with the admin role will be able to upload the excel file. We will display if there is any excel file loaded and if there is one, the date when it was loaded and the number of citizens loaded to the organisation.
Tasks
Technical discussion
We need to analyse if creating an engine is the best way to encapsulate the code that we will be writing. I suggest implementing first a version overriding the Decidim behaviours in the project itself and then determine if the added core is complex enough to be created as a separate extension.
Resources
The text was updated successfully, but these errors were encountered: