User groups feature initial commit.

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1373 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-04-28 15:10:04 +00:00
parent 4783d3d7c5
commit ced3cab7bb
41 changed files with 812 additions and 65 deletions
+7
View File
@@ -0,0 +1,7 @@
managers:
id: 1
name: Managers
clients:
id: 2
name: Clients
+23 -4
View File
@@ -4,24 +4,43 @@ members_001:
project_id: 1
role_id: 1
id: 1
user_id: 2
principal_type: User
principal_id: 2
members_002:
created_on: 2006-07-19 19:35:36 +02:00
project_id: 1
role_id: 2
id: 2
user_id: 3
principal_type: User
principal_id: 3
members_003:
created_on: 2006-07-19 19:35:36 +02:00
project_id: 2
role_id: 2
id: 3
user_id: 2
principal_type: User
principal_id: 2
members_004:
id: 4
created_on: 2006-07-19 19:35:36 +02:00
project_id: 1
role_id: 2
# Locked user
user_id: 5
principal_type: User
principal_id: 5
members_005:
id: 5
created_on: 2008-01-19 19:35:36 +02:00
project_id: 1
role_id: 3
principal_type: Group
principal_id: 2 # Clients
members_006:
id: 6
created_on: 2008-01-19 19:35:36 +02:00
project_id: 1
role_id: 3
principal_type: User
principal_id: 7
inherited_from: 5
+5 -5
View File
@@ -1,5 +1,5 @@
---
roles_001:
manager:
name: Manager
id: 1
builtin: 0
@@ -41,7 +41,7 @@ roles_001:
- :view_changesets
position: 1
roles_002:
developer:
name: Developer
id: 2
builtin: 0
@@ -78,7 +78,7 @@ roles_002:
- :view_changesets
position: 2
roles_003:
reporter:
name: Reporter
id: 3
builtin: 0
@@ -113,7 +113,7 @@ roles_003:
- :view_changesets
position: 3
roles_004:
non_member:
name: Non member
id: 4
builtin: 1
@@ -141,7 +141,7 @@ roles_004:
- :view_changesets
position: 4
roles_005:
anonymous:
name: Anonymous
id: 5
builtin: 2
+33
View File
@@ -96,5 +96,38 @@ users_006:
mail_notification: false
login: ''
type: AnonymousUser
client:
id: 7
created_on: 2006-07-19 19:33:19 +02:00
status: 1
last_login_on:
language: ''
hashed_password: 7feb7657aa7a7bf5aef3414a5084875f27192415
updated_on: 2006-07-19 19:33:19 +02:00
admin: false
mail: 'client@foo.bar'
lastname: User
firstname: Client
auth_source_id:
mail_notification: false
login: client
type: User
group_id: 2 # Clients
new_client:
id: 8
created_on: 2006-07-19 19:33:19 +02:00
status: 1
last_login_on:
language: ''
hashed_password: 7feb7657aa7a7bf5aef3414a5084875f27192415
updated_on: 2006-07-19 19:33:19 +02:00
admin: false
mail: 'newclient@foo.bar'
lastname: New
firstname: Client
auth_source_id:
mail_notification: false
login: newclient
type: User