https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-11-13T10:28:47ZRedmineRedmine - Feature #3584: Allow creating of issues in private projects by anonymous/non member via emailhttps://www.redmine.org/issues/3584?journal_id=120432009-11-13T10:28:47ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>allow creating of issues for anonymous in private projects</i> to <i>Allow creating of issues in private projects by anonymous/non member via email</i></li></ul> Redmine - Feature #3584: Allow creating of issues in private projects by anonymous/non member via emailhttps://www.redmine.org/issues/3584?journal_id=120572009-11-13T15:59:16ZIgnacio Carrera
<ul></ul><p>I second this. I need to allow users created on-the-fly via LDAP to add issues to a non-public project via email (and read wiki articles).</p>
<p>Right now this is what's bothering me (<code>User</code> model):</p>
<pre>
def allowed_to?(action, project, options={})
...
role.allowed_to?(action) && (project.is_public? || role.member?)
...
end
</pre>
<p>The problem is that I need a <code>non-member</code> to read wiki articles and add issues while not allowing an <code>anonymous</code> user to list or see issues.</p>
<p>I simply commented out <code>&& (project.is_public? || role.member?)</code> (the first check handles anonymous users great).</p>
<p>-- nachokb</p> Redmine - Feature #3584: Allow creating of issues in private projects by anonymous/non member via emailhttps://www.redmine.org/issues/3584?journal_id=125262009-11-28T12:17:37ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Category</strong> changed from <i>Email notifications</i> to <i>Email receiving</i></li></ul> Redmine - Feature #3584: Allow creating of issues in private projects by anonymous/non member via emailhttps://www.redmine.org/issues/3584?journal_id=460842013-02-26T04:43:59ZDaniel Black
<ul></ul><p>This original request here is fully supported now.</p>
<p>extra/mail_handler/rdm-mailhandler.rb has options --project=unassigned --category=bug .... --unknown-user=create --no-permission-check and this is also replicated in pop3 and imap fetching of emails.</p>
<p>comment 2 - ldap permissions - don't know -probably handled. There's probably a small problem with the permission model - <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Non-member role with 'created by or assigned' issue visibility can't view own issues in private p... (Closed)" href="https://www.redmine.org/issues/13287">#13287</a></p> Redmine - Feature #3584: Allow creating of issues in private projects by anonymous/non member via emailhttps://www.redmine.org/issues/3584?journal_id=461432013-02-27T04:14:23ZMischa The Evil
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>Daniel Black wrote:</p>
<blockquote>
<p>This original request here is fully supported now.</p>
<p>extra/mail_handler/rdm-mailhandler.rb has options --project=unassigned --category=bug .... --unknown-user=create --no-permission-check and this is also replicated in pop3 and imap fetching of emails.</p>
</blockquote>
<p>Indeed, this old request was superseded by <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Accept emails from anyone on a private project (Closed)" href="https://www.redmine.org/issues/4407">#4407</a>, which was fixed with <a class="changeset" title="Adds a 'no_permission_check' option to the MailHandler. Used with the 'project' option, it allows..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3195">r3195</a> for Redmine <a class="version" href="https://www.redmine.org/versions/6">0.9.0</a>.</p>