Automatic add user to project

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
jfelics
Posts: 1
Joined: 08 May 2019, 10:28

Automatic add user to project

Post by jfelics »

Hello all;
Can I automatically add a user to a project when the user is created?
My idea is that basic users add the issues in just one projects, then the developers move it to an appropriate project: I configured mantis that when a new user is created it is configured as a viewer, and can not add any issue; then I manually add the user to a general project as a reporter.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Automatic add user to project

Post by atrol »

You could write a plugin that uses EVENT_MANAGE_USER_CREATE.
https://mantisbt.org/docs/master/en-US/ ... ge.project
Please use Search before posting and read the Manual
Post Reply