Project

General

Profile

Projects getting assigned automatically after user creation

Added by mahesh m about 5 years ago

Hi,

Redmine Environment: 3.4.6

Redmine is assigning projects to the users automatically and assigns roles soon after the login creation and not able to delete the assigned projects.
--------------------------------------------------------------------------------------------------------------------------------------
Log file!!

Completed 200 OK in 327ms (Views: 284.3ms | ActiveRecord: 23.9ms)
Started POST "/redmine/users" for ::1 at 2019-03-11 16:08:05 +0530
Processing by UsersController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"MnvPwUqo66+oDItJIiZoYWlUUHMR9rJuoukMFtY8ZF4UyOyhsO8iuqW+7SkWH9A5qjLe8nrSkk5jTfkvnHnuQg==", "user"=>{"login"=>"abc", "firstname"=>"ABC", "lastname"=>"ABC", "mail"=>"", "language"=>"en", "custom_field_values"=>{"15"=>"", "18"=>""}, "admin"=>"0", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "generate_password"=>"[FILTERED]", "must_change_passwd"=>"0", "mail_notification"=>"only_assigned", "notified_project_ids"=>[""]}, "pref"=>{"no_self_notified"=>"1", "hide_mail"=>"0", "time_zone"=>"", "comments_sorting"=>"asc", "warn_on_leaving_unsaved"=>"1", "textarea_font"=>""}, "commit"=>"Create"}
Current user: admin (id=1)
Redirected to localhost:81/redmine/users/6/
Completed 302 Found in 179ms (ActiveRecord: 46.1ms)
Started GET "/redmine/users/6/edit" for ::1 at 2019-03-11 16:08:06 +0530
Processing by UsersController#edit as HTML
Parameters: {"id"=>"6"}
Current user: admin (id=1)
Rendered users/_mail_notifications.html.erb (176.9ms)
Rendered users/_preferences.html.erb (64.8ms)
Rendered users/_form.html.erb (452.0ms)
Rendered users/_general.html.erb (457.1ms)
Rendered principal_memberships/_index.html.erb (1660.0ms)
Rendered users/_memberships.html.erb (1661.0ms)
Rendered common/_tabs.html.erb (2125.0ms)
Rendered users/edit.html.erb within layouts/admin (2137.3ms)
Rendered admin/_menu.html.erb (14.3ms)
Rendered layouts/base.html.erb (270.1ms)
Completed 200 OK in 2451ms (Views: 2393.9ms | ActiveRecord: 45.1ms)

--------------------------------------------------------------------------------------------------------------------------------------
Few are having only Edit option and few with Edit/Delete. But projects not getting deleted for the user!


Replies (4)

RE: Projects getting assigned automatically after user creation - Added by Bernhard Rohloff about 5 years ago

This sounds really weird. Do you have any plugins installed?

RE: Projects getting assigned automatically after user creation - Added by mahesh m about 5 years ago

No plugins are installed!

Server restarted many times still after creation of users project tab will have all project assigned to the user.

Info.JPG (42.7 KB) Info.JPG

RE: Projects getting assigned automatically after user creation - Added by Bernhard Rohloff about 5 years ago

It looks good so far...
Here are some further questions.

How do you determine if the users are actually assinged to the project.
Are the new users really members of the projects with specific roles (marked by a yellow star in the projects overview), or are they just able to watch the project?
Are these projects public?

RE: Projects getting assigned automatically after user creation - Added by mahesh m about 5 years ago

Hey Bernhard Rohloff,

First time I faced this kind of issue while migrating Redmine from Windows to Linux environment.. Here are the clarifications..

1. Lets create a new user, after creation you can involve them in specific projects by Add Projects option likewise in my case before adding them to any projects their role is already assigned and user will be involved in all the projects.

2. New users may be added as a member of the projects later or never but adding user to specific project is a admin or manager privileges in my settings.

3. All projects are public as per default settings.

Thanks.

    (1-4/4)