Withdrawn not yet on protocol
[EN] Add a dynamic role / [ES] Añadir un rol dinámico
Funding: Generalitat de Catalunya
[EN] In order for this dynamic role to work, two conditions must be fulfilled:
1- Processes have area.
2- The area title is configurable (eg departments, areas, etc.).
It is an intermediate role between supradministration and the role of administrator of a process to a participant. Normally, organizations have an intermediate structure that manages the processes / assemblies. So a participatory process can be led from the department / area / participation section (for example)
Supra-administrator functions
You can assign the administration of one or more areas to the participants.
You can edit the allocation of area to the participants (adaptations to new organizational charts).
Areas can be created and modified. You can not delete those areas that are currently being used in some process.
Functions admin area (new)
Yes you can:
The area administrator can create / manage all those processes / assemblies that are assigned to your area.
You can create new processes / assemblies directly related to your area.
All the functions that the administrator has in a process / assembly (moderation, members, limitation, management components).
Send selective newsletter (pending approval)
You will not be able to:
Edit areas
Invite new area administrators
[ES] Para que este rol dinámico funcione debe cumplir las dos condiciones:
1- Procesos tienen área.
2- El título de área es configurable (ej: departamentos, áreas, etc).
Se trata de un rol intermedio entre la supradministración y el rol de administrador de un proceso a un participante. Normalmente, las organizaciones tienen una estructura intermedia que gestiona los procesos / asambleas. Así pues un proceso participativo puede ser liderado desde el departamento / area / sección de participación (por ejemplo)
Funciones supraadministrador
Podrá asignar la administración de un área o más de una a los participantes.
Puede editar la asignación de área a los participantes (adaptaciones a nuevos organigramas).
Las áreas se podrán crear y modificar. No se podrá eliminar aquellas áreas que están siendo utilizadas actualmente en algún proceso.
Funciones admin área (nuevo)
Sí podrá:
El administrador de área podrá crear / gestionar todos aquellos procesos / asambleas que estén asignados a su área.
Podrá crear nuevos procesos / asambleas relacionados directement con su área.
Todas las funciones que tiene el administrador en un proceso / asamblea (moderación, miembros, limitación, gestión componentes).
Enviar newsletter selectiva (pendiente de aprobación)
No podrá:
Editar las áreas
Invitar a nuevos administradores de área
19 comments
-
Hi @pau, does this issue correspond to this proposal?
https://github.com/decidim/decidim/issues/5007
0 votes up 0 votes down-
yes @carol
0 votes up 0 votes down
-
-
I already left a comment on the GitHub issue, but I'll port it here. The title of this proposal explicitly states "Dynamic role", but then the proposal body doesn't say anything about this role being dynamic. For context, for me a dynamic role is this:
https://github.com/decidim/decidim/issues/3503
Adding yet another role to the admin will clutter the permissions system, which is already very complicated (I know this, I made it). Also, the proposal as it is written right now (version 1) will overcomplicate things for smaller organizations (which are predominant in Decidim IMO).
I proposed @tramuntanal to work on issue 3503 (the one linked here), but I got a negative response to this saying that the issue has already been defined and working on 3503 is outside of the scope.
0 votes up 0 votes down-
I'm checking the issue as it is defined in the client repo (https://github.com/gencat/participa/issues/51) and it gives me some concerns about the suggested implementation. The first red flag I see is that the new suggested role would be using the "admin" flag set to true. This flag identifies organization-wide admins, so a user with that role would automatically have access to all the admin section. If you want then to restrict the access you need to modify the whole permissions system, which will make it even more complex that what it already is.
Secondly, the fact that this "department admin" role can send newsletters is abolutely arbitrary and cherry-picked from a specific client needs. If we have to look for the good of the platform, the fact that this role can send newsletters is arbitrary IMO and convinces me even more that the way to go is developing a proper dynamic role system, instead of patching it with arbitrary customizations.
0 votes up 0 votes down -
More doubts: would this only work fo processes, or is this planned for any participatory space? Because on the related issue https://github.com/gencat/participa/issues/50 (the fact that those issues on the client repo are only in Catalan might not help with the discussion here) you mention newsletters should be segmented by participatory space. So imagine there's a "department admin" that can only create processes (no other participatory space) and could send newsletters for processes. Now imagine there's more than one of them, each one for different departments. How will you handle the fact that a given department admin doesn't send a newsletter to another department they don't have access to?
The big picture for this proposal is not clear to me and raises a lot of flags.
0 votes up 0 votes down
-
-
Against
As stated in my other comment thread, I don't see a clear picture for this issue and I find it very trivial and tailored for a single client. I don't think the suggested approach benefits the whole platform, but adds more chances that someone performs a wrong action.
I'm -1 on this.
0 votes up 0 votes down-
Hi @, when the Generalitat asked us for this requirement, the first thing we did was check what was already proposed. We saw the issue of dynamic roles. As it stands, it did not fit precisely with the requirement.
The need for the Generalitat is that it consists of more than 20 departments (we have to understand that these are areas for us) with points that have 40 open processes. The management of these processes, we want to avoid falling into a single administrator. That's why they need an intermediate role that can handle the processes and assemblies related to their department (area). The idea is to decentralize the management of the platform to be able to involve the entire organizational structure of an entity (counties, departments, areas, teams, etc.)
0 votes up 0 votes down-
n fact, that a department role may send a newsletter fits with the proposed decentralization, since if we intend to assume the administration of a process, this not only requires management, but also communication (this is the idea, others, to make a segmented newsletter). We have to understand that a department is an area. Therefore, the department roles only visualize the participatory spaces that have area (processes (if accepted) and assemblies). The role of "justice" department will only see processes and assemblies with "justice" area. Also, a department role can not send a newsletter for scopes, as if you could do the admin, to avoid what you say.
My opinion is that this intermediate role can help:
1- That all the work does not fall in 2-3 people. I think that this can benefit more small towns.
2- Involve in all areas of an entity / organization. That's more focused on large organizations.0 votes up 0 votes down-
However, I can understand that there are specific needs and that it may present problems to be included in the original Decide.
0 votes up 0 votes down
-
-
-
Hi @,
Thanks for your technical insights.
As @pau already stated the feature Gencat is proposing has a lot of sense. Anyway, I agree with you that the title does not express what we would like to implement so we'll try to withdraw this proposal and open another one with everything correctly explained.
Regarding your technical comments, I find it very confusing that you are not confident with the permission system you have build from scratch to replace cancancan. On every release Decidim adds new features about voting, authentication, verification, etc.. all of them require to work with permissions, and it is normal as software that is alive evolves. What is that you find critical about adding a new static role? can you clarify please?
0 votes up 0 votes down-
The reasons behind the move from cancancan to an in-house solution for permissions were discussed back when the change was proposed, but basically cancancan allowed modules to modify permissions from other modules. since cancancan used a global class that was extended by others, a module class could allow any user to access the admin and perform any action there. The current system forbids this bug, but that doesn't mean it's simple. I think we can create something and still be critic about it, and now I'd probably face the problem in a different fashion.
0 votes up 0 votes down
-
-
Regarding the assignment of issue gid://metadecidim/Decidim::Hashtag/36/3503, I don't know who's responsible for it, I just know that we aren't and we can't take it. We can't take it because it tries to address control access to Components, but what Gencat needs is restricting access to participatory spaces (and many modules on the admin Panel): different scopes here.
0 votes up 0 votes down-
I'm not saying that issue is assigned to you (BTW, I notice that Decidim takes the issue number as a hashtag, might be a bug?), just saying that you'd probably end up saving time if you developed your issue using the ideas from issue 3503.
0 votes up 0 votes down
-
-
We're replacing this confusing proposal (title and body doesn't match) for Create new "Department Admin" role with different title and nearly same body:
Create new "Department Admin" role
0 votes up 0 votes down -
Thank you both @ and @pau for your answers. I understand your needs, and the client needs too, with your explanations.
I still have doubts about the product side of this, but even though I'm not on the governance of the project I wanted to express my opinion. Also, as a Decidim developer I wanted to point out the possible effects of the proposed implementation you mentioned (I notice @ doesn't mention anything about the "admin" flag, I take it the team will take it into account when developing it!)
1 votes up 0 votes down-
I highly appreciate your comments Marc. I think the project is this debate.
0 votes up 0 votes down
-
-
Of course @, I understand it is your job to raise hands when you see something that worries you, no problem about that. On the contrary, we'll take your advise and wait for product responses.
We'll comment about the "admin" flag in GH if the proposal advances.
0 votes up 0 votes down
-
-
Hey everyone,
After listening to the arguments of the core development team, and understanding perfectly the needs of the Generalitat, as a Product team we believe it is better to leave this specific functionality in the repo of the Generalitat.
Technically there is little doubt that the best solution is the one proposed by @, but indeed Codi Tramuntana cannot assume this task. When we have the necessary resources to properly evolve the permissions system we will do it, but it is important not to put patches that can cause more problems than benefits.
0 votes up 0 votes down-
Hi Carol,
Thank you very much for your fast response!
We, as developers, don't find the proposal of a new static department role as a patch, but a new feature different from dynamic roles. It is a pity that Decidim won't bring this for other big organizations around the world. On the other side, we'll try to implement it as an optional module for other Decidims.
Thanks again for your fast response1 votes up 0 votes down
-
Sign in with your Atmosphere account to comment.