Merged 0.6 branch into trunk.
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
This commit is contained in:
1 parent
8da5bad295
commit
603e11d7a5
93 files changed
+1120
-1235
No files matched your search
@@ -1,6 +1,7 @@
|
||||
<% if @query.new_record? %>
|
||||
<div class="contextual">
|
||||
<%= link_to l(:label_query_plural), :controller => 'queries', :project_id => @project %>
|
||||
<% if authorize_for('projects', 'add_issues') %>| <%= l(:label_issue_new) %>: <%= new_issue_selector %><% end %>
|
||||
</div>
|
||||
<h2><%=l(:label_issue_plural)%></h2>
|
||||
|
||||
@@ -19,7 +20,7 @@
|
||||
:update => "content",
|
||||
}, :class => 'icon icon-reload' %>
|
||||
|
||||
<% if loggedin? %>
|
||||
<% if current_role.allowed_to?(:save_queries) %>
|
||||
<%= link_to_remote l(:button_save),
|
||||
{ :url => { :controller => 'queries', :action => 'new', :project_id => @project },
|
||||
:method => 'get',
|
||||
@@ -33,6 +34,7 @@
|
||||
<div class="contextual">
|
||||
<%= link_to l(:label_query_plural), {:controller => 'queries', :project_id => @project} %> |
|
||||
<%= link_to l(:label_issue_view_all), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1} %>
|
||||
<% if authorize_for('projects', 'add_issues') %>| <%= l(:label_issue_new) %>: <%= new_issue_selector %><% end %>
|
||||
</div>
|
||||
<h2><%= @query.name %></h2>
|
||||
<% end %>
|
||||
@@ -81,4 +83,4 @@
|
||||
</p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
Reference in new issue
Block a user