https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-02-12T07:47:45ZRedmineRedmine - Feature #4814: Option to prevent removing all members with a certain rolehttps://www.redmine.org/issues/4814?journal_id=142862010-02-12T07:47:45ZFelix Schäfer
<ul></ul><p>I think I saw something like that in the changelogs some days ago, but I think it was only for the <em>Manager</em> role… I'll try to find it again.</p> Redmine - Feature #4814: Option to prevent removing all members with a certain rolehttps://www.redmine.org/issues/4814?journal_id=142922010-02-12T10:35:22ZFelix Schäfer
<ul></ul><p>Have a look if <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Defect: Prompt before deleting a Project Member (Project Settings > Members) (Closed)" href="https://www.redmine.org/issues/4402">#4402</a> / <a class="changeset" title="Ask for confirmation when a non-admin users tries to remove himself from a project (#4402)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3249">r3249</a> solves what you are describing here. The problem with "making sure at least 1 user with role X" exists is that 1. not everyone wants that, and 2. the roles are freely configurable, so <em>Manager</em> might mean two different permission sets on two different redmine installations.</p> Redmine - Feature #4814: Option to prevent removing all members with a certain rolehttps://www.redmine.org/issues/4814?journal_id=143102010-02-12T20:25:56ZMichael Koch
<ul></ul><p>Maybe it could be an option in the Admin settings, where you could choose that "At least 1 user with this role" was on each project. That way it could be totally up to the administrators how the option was utilized. For community projects, I think this is an important issue.</p>
<p>Looks like for the update you mention, it is a warning for deleting a member. Is this correct?</p> Redmine - Feature #4814: Option to prevent removing all members with a certain rolehttps://www.redmine.org/issues/4814?journal_id=143112010-02-12T20:27:59ZFelix Schäfer
<ul></ul><p>The update mentioned warns you when you delete yourself from the project, although I haven't paid attention if it was only for the highest role you occupy in this project or anything like that.</p> Redmine - Feature #4814: Option to prevent removing all members with a certain rolehttps://www.redmine.org/issues/4814?journal_id=143692010-02-14T15:36:39ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Warn user when 'demoting' their role/permissions on a project, particularly when there are no other project managers left</i> to <i>Option to prevent removing all members with a certain role</i></li><li><strong>Category</strong> set to <i>Projects</i></li></ul><p>Subject changed since the warning when someone tries to remove himself from a project is already implemented.</p> Redmine - Feature #4814: Option to prevent removing all members with a certain rolehttps://www.redmine.org/issues/4814?journal_id=145832010-02-22T04:51:55ZMichael Koch
<ul></ul><p>Thanks Jean for clarifying. The new title conveys my issue better.</p>
<p>For an update, we had this problem several more times where users removed themselves as project managers, and no one was able to make changes on the project (besides admins of course).</p>