You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-02-09 15:37:08

muzzol
Member
Registered: 2009-05-18
Posts: 11

force manual execution of rule

I created a new rule to assign users to a diferent entity and I would like to execute on existing users.

how can I do that?

Offline

#2 2023-02-13 10:30:03

muzzol
Member
Registered: 2009-05-18
Posts: 11

Re: force manual execution of rule

anyone?

Offline

#3 2023-02-13 12:03:17

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: force manual execution of rule

Authorization assignment rules are only processed when a user is imported or logs in.
I'm not aware of any way to re-run the rules for all users immediately.

Feel free to make this suggestion on the UserEcho site though so that it can be considered for a future version.
https://glpi.userecho.com/


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#4 2023-02-13 16:08:06

muzzol
Member
Registered: 2009-05-18
Posts: 11

Re: force manual execution of rule

thanks a lot for your response. when you say imported how exactly do you mean?

I'm testing Datainjection plugin but I think that's not official.
is there a standard way to bulk import users?

Offline

#5 2023-02-13 16:25:59

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: force manual execution of rule

Importing from an external authentication source such as Active Directory.
Using the Data Injection plugin is similar to manually creating users and that doesn't trigger the rules either.

Without knowing your environment, I'd say if you need to bulk create users, LDAP/Active Directory or another central authentication source would be a good thing to have.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#6 2023-02-21 15:23:29

muzzol
Member
Registered: 2009-05-18
Posts: 11

Re: force manual execution of rule

on my current setup I need to create users by hand (or with datainjection plugin).

I see that bin/console is getting some improvements on last versions, maybe I can open a feature request about filter execution?

Offline

Board footer

Powered by FluxBB