diff options
author | Johan Sørensen <johan@johansorensen.com> | 2007-12-13 23:07:42 +0100 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2007-12-13 23:07:42 +0100 |
commit | a9ebd2bc58bb11a5fba462f82460fee83fd4426f (patch) | |
tree | d99045110e53fb2d9b6e28c20b07f2f536a2b45b /app/models/committership.rb | |
parent | 3a6a9d6525c3bc57babc0a858f1fe4db0b5714f7 (diff) | |
download | gitorious-mainline-outdated-a9ebd2bc58bb11a5fba462f82460fee83fd4426f.zip gitorious-mainline-outdated-a9ebd2bc58bb11a5fba462f82460fee83fd4426f.tar.gz gitorious-mainline-outdated-a9ebd2bc58bb11a5fba462f82460fee83fd4426f.tar.bz2 |
rename Permission to Committership
Diffstat (limited to 'app/models/committership.rb')
-rw-r--r-- | app/models/committership.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/committership.rb b/app/models/committership.rb new file mode 100644 index 0000000..5b1e01f --- /dev/null +++ b/app/models/committership.rb @@ -0,0 +1,8 @@ +class Committership < ActiveRecord::Base + belongs_to :user + belongs_to :repository + + KIND_ACCESS_NONE = 0 + KIND_ACCESS_READ = 1 + KIND_ACCESS_WRITE = 2 +end |