Changesets can be listed by changeset number.
The Git repository is here.
Changeset 146
Now insists on being a Hub admin before allowing further access
to its own admin interface. Update to the breadcrumbs template
to alter views in line with recent RCVSweb changes - for details
see Changeset #144.
- Comitted by: adh
- Date: Wednesday November 15 22:48:23 2006 (over 18 years ago)
Affected files:
- rool/rails/collaboa/trunk/app/controllers/login_controller.rb (diff)
- rool/rails/collaboa/trunk/app/views/repository/_breadcrumbs.rhtml (diff)
rool/rails/collaboa/trunk/app/controllers/login_controller.rb:
prev. | current | |
1 | ||
1 | class LoginController < ApplicationController | |
def index | ||
redirect_to :action => 'login' | ||
end | ||
6 | # Insist on being a Hub admin before allowing further access | |
7 | ||
8 | @@hubssolib_permissions = HubSsoLib::Permissions.new({ | |
9 | :login => [ :admin, :webmaster, :privileged, :normal ] | |
10 | }) | |
11 | ||
12 | def LoginController.hubssolib_permissions | |
13 | @@hubssolib_permissions | |
14 | end | |
15 | ||
def login | ||
case request.method | ||
when :post | ||
... | ... | |
end | ||
end | ||
end | ||
24 | | |
34 | ||
def logout | ||
session[:user_id] = nil | ||
@current_user = User.find_by_login 'Public' | ||
end | ||
29 | | |
39 | ||
end |
rool/rails/collaboa/trunk/app/views/repository/_breadcrumbs.rhtml:
prev. | current | |
You are currently browsing the <b>Subversion</b> repository.<br /> | ||
2 | Changesets can be listed by | |
3 | <%= link_to 'changeset number', { :controller=>'repository', :action=>'changesets' } %>.<br /> | |
The CVS repository is <a href="/rails/rcvsweb/">here</a>. | ||
<% if trail -%><div class="breadcrumbs"><%= path_breadcrumbs(params[:path], last_clickable) %></div><% end -%> | ||