https://dev.entrouvert.org/https://dev.entrouvert.org/favicon.ico?15861920342015-07-03T15:12:43ZRedmine Entr’ouvertAuthentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=304932015-07-03T15:12:43ZBenjamin Dauvergne
<ul></ul><p>If the user does not have also <code>custom_user.view_user</code> permissions on at least one organizational unit, he will see no user to add. I can completely remove the check, but our user database will be public in this case. Maybe I could make view_role imply view_user.</p> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=304942015-07-03T15:23:46ZBenjamin Dauvergne
<ul></ul><p>Another solution, add the <code>custom_user.view_user</code> permissions to all role administration roles, with global scope or only the scope of the entity the role belong to.</p> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=304992015-07-03T15:50:06ZFrédéric Pétersfpeters@entrouvert.com
<ul></ul><p>So after the user is created I have to move it from "no entity" to "entity by default", and it would work?</p> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=305002015-07-03T15:50:18ZBenjamin Dauvergne
<ul><li><strong>Fichier</strong> <a href="/attachments/7258">0001-a2_rbac-give-the-permission-to-view-all-users-to-any.patch</a> <a class="icon-only icon-download" title="Télécharger" href="/attachments/download/7258/0001-a2_rbac-give-the-permission-to-view-all-users-to-any.patch">0001-a2_rbac-give-the-permission-to-view-all-users-to-any.patch</a> ajouté</li></ul><p>This patch gives user view permission to all role administration roles.</p> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=305012015-07-03T15:53:05ZBenjamin Dauvergne
<ul></ul><p>Frédéric Péters a écrit :</p>
<blockquote>
<p>So after the user is created I have to move it from "no entity" to "entity by default", and it would work?</p>
</blockquote>
<p>Not at all, it's not related to entities, it's just that I can give a restrictive or large view of users so the Clapiers administrator of role "État-civil" would see all users (even those of Vendargues) or only users of Clapiers. I choose for now to give him a view of all users.</p> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=305122015-07-03T16:19:25ZBenjamin Dauvergne
<ul><li><strong>Version cible</strong> mis à <i>2.2.0</i></li></ul> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=306252015-07-08T10:45:08ZBenjamin Dauvergne
<ul><li><strong>Statut</strong> changé de <i>Nouveau</i> à <i>Résolu (à déployer)</i></li><li><strong>% réalisé</strong> changé de <i>0</i> à <i>100</i></li></ul><p>Appliqué par commit <a class="changeset" title="a2_rbac: give view user permissions to role administrators (fixes #7759) The permission is scope..." href="https://dev.entrouvert.org/projects/authentic/repository/authentic2/revisions/ff6ca45868701e10e4780260d52466d87c8f27b0">authentic2|ff6ca45868701e10e4780260d52466d87c8f27b0</a>.</p> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=429032016-02-23T11:59:14ZBenjamin Dauvergne
<ul><li><strong>Statut</strong> changé de <i>Résolu (à déployer)</i> à <i>Solution déployée</i></li></ul> Authentic 2 - Bug #7759: user who is manager of a role cannot add any user to ithttps://dev.entrouvert.org/issues/7759?journal_id=930782017-12-06T14:31:00ZBenjamin Dauvergne
<ul><li><strong>Statut</strong> changé de <i>Solution déployée</i> à <i>Fermé</i></li></ul>