summaryrefslogtreecommitdiffstats
path: root/app/models/role.rb
Commit message (Collapse)AuthorAgeFilesLines
* Restores migration broken by r8182 and removes default scope on Role (#9800).Jean-Philippe Lang2011-12-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8213 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Resourcified roles.Jean-Philippe Lang2011-12-091-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/role.rb.Toshi MARUYAMA2011-08-311-20/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor builtin roles creation.Jean-Philippe Lang2011-07-201-17/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6299 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private issues (#7414).Jean-Philippe Lang2011-04-151-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an issues visibility level on roles (#7412).Jean-Philippe Lang2011-04-111-1/+9
| | | | | | It can be set so that users only see their own issues (created or assigned). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Localize anonymous and non member roles names (#8072).Jean-Philippe Lang2011-04-051-2/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove the limitation on characters that can be used in custom_field, ↵Jean-Philippe Lang2010-12-311-1/+0
| | | | | | issue_status, role, tracker, user names (#5152). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4599 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change Role#anonymous and #non_member so they generate the record as needed.Eric Davis2010-02-031-4/+20
| | | | | | | | While creating tests, it was a common occurrence to lost the builtin roles because they are only created in the migrations. This makes them behave like User#anonymous. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds workflow copy functionality (#1727).Jean-Philippe Lang2009-12-121-8/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3154 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to choose which role is given to a non-admin user who creates ↵Jean-Philippe Lang2009-05-171-0/+1
| | | | | | a project (#1007). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2754 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-101-2/+7
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes hardcoded table names (#2701).Jean-Philippe Lang2009-02-091-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2424 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a permission 'view wiki edits' so that wiki history can be hidden to ↵Jean-Philippe Lang2008-09-131-0/+5
| | | | | | | | certain users (#1154). A migration automatically adds this permission to roles that were allowed to view wiki pages. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1815 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged nbc branch @ r1812 (commit access permission and reposman improvements).Jean-Philippe Lang2008-09-131-2/+25
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1814 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workflow copy:Jean-Philippe Lang2008-03-151-1/+12
| | | | | | | * added the ability the copy an existing workflow when creating a new role (closes #841) * use a single raw insert statement to copy tracker/role workflow rather than instantiating hundreds/thousands of objects git-svn-id: http://redmine.rubyforge.org/svn/trunk@1252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-291-4/+74
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added several validates_length_ofJean-Philippe Lang2007-07-161-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Various changes on views. On project summary, members are now grouped by ↵Jean-Philippe Lang2007-04-081-0/+4
| | | | | | role and subprojects are listed inline. git-svn-id: http://redmine.rubyforge.org/svn/trunk@434 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added svn:eol-style native property on /app filesJean-Philippe Lang2007-03-121-31/+31
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added the ability to set the sort order for rolesJean-Philippe Lang2007-01-311-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replaced deprecated ":dependent => true" statementsJean-Philippe Lang2006-12-261-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@123 e93f8b46-1217-0410-a6f0-8f06a7374b81
* various modifications to prevent xssJean-Philippe Lang2006-12-171-0/+1
| | | | | | | - validation of names and labels against /^[\w\s\'\-]*$/i - html entities encoding git-svn-id: http://redmine.rubyforge.org/svn/trunk@99 e93f8b46-1217-0410-a6f0-8f06a7374b81
* trunk moved from /trunk/redmine to /trunkJean-Philippe Lang2006-12-051-0/+31
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81