https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-10-11T15:30:32ZRedmineRedmine - Patch #12078: User#allowed_to? should return true or falsehttps://www.redmine.org/issues/12078?journal_id=419492012-10-11T15:30:32ZEtienne Massip
<ul><li><strong>Category</strong> set to <i>Code cleanup/refactoring</i></li></ul> Redmine - Patch #12078: User#allowed_to? should return true or falsehttps://www.redmine.org/issues/12078?journal_id=419662012-10-12T09:13:10ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Replace incorrect uses of .detect by .any?</i> to <i>User#allowed_to? should return true or false</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Target version</strong> set to <i>2.2.0</i></li></ul><p>Committed in <a class="changeset" title="Fixed that User#allowed_to? should return true or false (#12078)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/10614">r10614</a>. Another change was required so that <code>User#allowed_to?</code> return true or false and tests were updated.</p>