diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-16 17:47:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-16 17:47:41 +0000 |
commit | 446889b3f0cbb8d66d5b72605b14518f01afd17c (patch) | |
tree | 5cf2cde689b2fda95a99ce1715554a626b564d72 /app/views/roles | |
parent | 4cedecad4d336780aae1e073aa41a4a9c2169c8f (diff) | |
download | redmine-446889b3f0cbb8d66d5b72605b14518f01afd17c.tar.gz redmine-446889b3f0cbb8d66d5b72605b14518f01afd17c.zip |
Added a 'Assignable' boolean on Role model.
If unchecked, issues can not be assigned to users having this role.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@649 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles')
-rw-r--r-- | app/views/roles/_form.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/roles/_form.rhtml b/app/views/roles/_form.rhtml index a80d990f9..d69fff132 100644 --- a/app/views/roles/_form.rhtml +++ b/app/views/roles/_form.rhtml @@ -2,6 +2,8 @@ <div class="box"> <!--[form:role]--> <p><%= f.text_field :name, :required => true %></p> +<p><%= f.check_box :assignable %></p> +<div class="clear"></div> <h3><%=l(:label_permissions)%></h3> <% permissions = @permissions.group_by {|p| p.group_id } %> |