Automatic add user to project

Post about your customizations to share with others.

Moderators: Developer, Contributor

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

Automatic add user to project

Post by jfelics » May 08, 2019 6:38 am

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: 7677
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Automatic add user to project

Post by atrol » May 09, 2019 4:34 pm

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