Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 24
- Log:
Initial import of Collaboa 0.5.6 from downloaded Tarball. Collaboa is
a Ruby On Rails based bug tracker and SVN repository browsing tool.
- Author:
- adh
- Date:
- Mon Jul 24 21:54:39 +0100 2006
- Size:
- 791 Bytes
1 | class Permissions < ActiveRecord::Migration |
2 | def self.up |
3 | add_column :users, :view_changesets, :boolean, :default => 1 |
4 | add_column :users, :view_code, :boolean, :default => 1 |
5 | add_column :users, :view_tickets, :boolean, :default => 1 |
6 | add_column :users, :create_tickets, :boolean, :default => 1 |
7 | add_column :users, :admin, :boolean, :default => 0 |
8 | |
9 | User.reset_column_information |
10 | #User.find(:all).each { |u| u.admin = 1; u.save } |
11 | #u = User.find(:first); u.admin=1; u.save! |
12 | User.create :login => 'Public', :password => 'nothing', :password_confirmation => 'nothing' |
13 | end |
14 | |
15 | def self.down |
16 | remove_column :users, :view_changesets |
17 | remove_column :users, :view_code |
18 | remove_column :users, :view_tickets |
19 | remove_column :users, :create_tickets |
20 | end |
21 | |
22 | end |