authentasaurus 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +173 -0
- data/TODO +4 -0
- data/app/controllers/areas_controller.rb +4 -0
- data/app/controllers/groups_controller.rb +4 -0
- data/app/controllers/permissions_controller.rb +4 -0
- data/app/controllers/recoveries_controller.rb +2 -0
- data/app/controllers/registrations_controller.rb +2 -0
- data/app/controllers/sessions_controller.rb +2 -0
- data/app/controllers/user_invitations_controller.rb +4 -0
- data/app/controllers/users_controller.rb +4 -0
- data/app/controllers/validations_controller.rb +2 -0
- data/app/models/area.rb +2 -0
- data/app/models/authentasaurus_emailer.rb +2 -0
- data/app/models/group.rb +2 -0
- data/app/models/permission.rb +2 -0
- data/app/models/recovery.rb +2 -0
- data/app/models/session.rb +2 -0
- data/app/models/user.rb +3 -0
- data/app/models/user_invitation.rb +2 -0
- data/app/models/user_sync.rb +3 -0
- data/app/models/validation.rb +2 -0
- data/app/views/areas/edit.html.erb +7 -0
- data/app/views/areas/index.html.erb +11 -0
- data/app/views/areas/new.html.erb +7 -0
- data/app/views/areas/show.html.erb +7 -0
- data/app/views/authentasaurus_emailer/invitation_mail.html.erb +4 -0
- data/app/views/authentasaurus_emailer/recovery_mail.html.erb +7 -0
- data/app/views/authentasaurus_emailer/validation_mail.html.erb +6 -0
- data/app/views/groups/edit.html.erb +7 -0
- data/app/views/groups/index.html.erb +11 -0
- data/app/views/groups/new.html.erb +7 -0
- data/app/views/groups/show.html.erb +7 -0
- data/app/views/permissions/edit.html.erb +19 -0
- data/app/views/permissions/index.html.erb +17 -0
- data/app/views/permissions/new.html.erb +19 -0
- data/app/views/permissions/show.html.erb +7 -0
- data/app/views/recoveries/edit.html.erb +24 -0
- data/app/views/recoveries/new.html.erb +15 -0
- data/app/views/registrations/new.html.erb +21 -0
- data/app/views/sessions/new.html.erb +41 -0
- data/app/views/sessions/no_access.html.erb +1 -0
- data/app/views/user_invitations/index.html.erb +14 -0
- data/app/views/user_invitations/new.html.erb +9 -0
- data/app/views/users/edit.html.erb +27 -0
- data/app/views/users/index.html.erb +19 -0
- data/app/views/users/new.html.erb +27 -0
- data/app/views/users/show.html.erb +11 -0
- data/app/views/validations/activate.html.erb +6 -0
- data/app/views/validations/resend_validation_email.html.erb +6 -0
- data/config/locales/en.yml +34 -0
- data/generators/authentasaurus/USAGE +2 -0
- data/generators/authentasaurus/authentasaurus_generator.rb +9 -0
- data/generators/authentasaurus/templates/authentasaurus_tasks.rake +48 -0
- data/generators/authentasaurus/templates/defaults.yml +51 -0
- data/generators/authentasaurus/templates/initializer.rb +3 -0
- data/generators/authentasaurus_views/USAGE +12 -0
- data/generators/authentasaurus_views/authentasaurus_views_generator.rb +87 -0
- data/generators/authentasaurus_views/templates/views/areas/edit.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/areas/index.html.erb +11 -0
- data/generators/authentasaurus_views/templates/views/areas/new.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/areas/show.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/authentasaurus_emailer/invitation_mail.html.erb +4 -0
- data/generators/authentasaurus_views/templates/views/authentasaurus_emailer/recovery_mail.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/authentasaurus_emailer/validation_mail.html.erb +6 -0
- data/generators/authentasaurus_views/templates/views/groups/edit.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/groups/index.html.erb +11 -0
- data/generators/authentasaurus_views/templates/views/groups/new.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/groups/show.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/permissions/edit.html.erb +19 -0
- data/generators/authentasaurus_views/templates/views/permissions/index.html.erb +17 -0
- data/generators/authentasaurus_views/templates/views/permissions/new.html.erb +19 -0
- data/generators/authentasaurus_views/templates/views/permissions/show.html.erb +7 -0
- data/generators/authentasaurus_views/templates/views/recoveries/edit.html.erb +24 -0
- data/generators/authentasaurus_views/templates/views/recoveries/new.html.erb +15 -0
- data/generators/authentasaurus_views/templates/views/registrations/new.html.erb +21 -0
- data/generators/authentasaurus_views/templates/views/sessions/new.html.erb +41 -0
- data/generators/authentasaurus_views/templates/views/sessions/no_access.html.erb +1 -0
- data/generators/authentasaurus_views/templates/views/user_invitations/index.html.erb +14 -0
- data/generators/authentasaurus_views/templates/views/user_invitations/new.html.erb +9 -0
- data/generators/authentasaurus_views/templates/views/users/edit.html.erb +27 -0
- data/generators/authentasaurus_views/templates/views/users/index.html.erb +19 -0
- data/generators/authentasaurus_views/templates/views/users/new.html.erb +27 -0
- data/generators/authentasaurus_views/templates/views/users/show.html.erb +11 -0
- data/generators/authentasaurus_views/templates/views/validations/activate.html.erb +6 -0
- data/generators/authentasaurus_views/templates/views/validations/resend_validation_email.html.erb +6 -0
- data/lib/action_controller/authorization.rb +215 -0
- data/lib/action_view/authorization.rb +123 -0
- data/lib/active_record/acts_as_authenticatable.rb +80 -0
- data/lib/active_record/acts_as_authenticatable_validatable.rb +32 -0
- data/lib/active_record/authenticatable.rb +56 -0
- data/lib/active_resource/acts_as_authenticatable.rb +42 -0
- data/lib/active_resource/authenticatable.rb +22 -0
- data/lib/authentasaurus.rb +21 -0
- data/lib/authentasaurus/areas_controller.rb +71 -0
- data/lib/authentasaurus/authentasaurus_controller.rb +2 -0
- data/lib/authentasaurus/groups_controller.rb +73 -0
- data/lib/authentasaurus/models/area.rb +8 -0
- data/lib/authentasaurus/models/authentasaurus_emailer.rb +31 -0
- data/lib/authentasaurus/models/group.rb +8 -0
- data/lib/authentasaurus/models/permission.rb +9 -0
- data/lib/authentasaurus/models/recovery.rb +23 -0
- data/lib/authentasaurus/models/session.rb +63 -0
- data/lib/authentasaurus/models/user_invitation.rb +21 -0
- data/lib/authentasaurus/models/validation.rb +18 -0
- data/lib/authentasaurus/permissions_controller.rb +71 -0
- data/lib/authentasaurus/recoveries_controller.rb +59 -0
- data/lib/authentasaurus/registrations_controller.rb +32 -0
- data/lib/authentasaurus/sessions_controller.rb +45 -0
- data/lib/authentasaurus/user_invitations_controller.rb +39 -0
- data/lib/authentasaurus/users_controller.rb +71 -0
- data/lib/authentasaurus/validations_controller.rb +34 -0
- data/lib/helpers/migrations.rb +171 -0
- data/lib/helpers/routing.rb +90 -0
- data/rails/init.rb +37 -0
- metadata +188 -0
metadata
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: authentasaurus
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 1
|
10
|
+
version: 0.4.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Omar Mekky
|
14
|
+
- Kareem Diaa
|
15
|
+
- Ramy Aboul Naga
|
16
|
+
- Khaled Gomaa
|
17
|
+
autorequire:
|
18
|
+
bindir: bin
|
19
|
+
cert_chain: []
|
20
|
+
|
21
|
+
date: 2010-07-28 00:00:00 +03:00
|
22
|
+
default_executable:
|
23
|
+
dependencies: []
|
24
|
+
|
25
|
+
description: Simple and easy dynamic restful group/permission based authentication and authorization engine plugin for Rails
|
26
|
+
email: info@mashsolvents.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- MIT-LICENSE
|
33
|
+
- README.rdoc
|
34
|
+
- TODO
|
35
|
+
files:
|
36
|
+
- app/controllers/areas_controller.rb
|
37
|
+
- app/controllers/groups_controller.rb
|
38
|
+
- app/controllers/permissions_controller.rb
|
39
|
+
- app/controllers/recoveries_controller.rb
|
40
|
+
- app/controllers/registrations_controller.rb
|
41
|
+
- app/controllers/sessions_controller.rb
|
42
|
+
- app/controllers/user_invitations_controller.rb
|
43
|
+
- app/controllers/users_controller.rb
|
44
|
+
- app/controllers/validations_controller.rb
|
45
|
+
- app/models/area.rb
|
46
|
+
- app/models/authentasaurus_emailer.rb
|
47
|
+
- app/models/group.rb
|
48
|
+
- app/models/permission.rb
|
49
|
+
- app/models/recovery.rb
|
50
|
+
- app/models/session.rb
|
51
|
+
- app/models/user.rb
|
52
|
+
- app/models/user_invitation.rb
|
53
|
+
- app/models/user_sync.rb
|
54
|
+
- app/models/validation.rb
|
55
|
+
- app/views/areas/edit.html.erb
|
56
|
+
- app/views/areas/index.html.erb
|
57
|
+
- app/views/areas/new.html.erb
|
58
|
+
- app/views/areas/show.html.erb
|
59
|
+
- app/views/authentasaurus_emailer/invitation_mail.html.erb
|
60
|
+
- app/views/authentasaurus_emailer/recovery_mail.html.erb
|
61
|
+
- app/views/authentasaurus_emailer/validation_mail.html.erb
|
62
|
+
- app/views/groups/edit.html.erb
|
63
|
+
- app/views/groups/index.html.erb
|
64
|
+
- app/views/groups/new.html.erb
|
65
|
+
- app/views/groups/show.html.erb
|
66
|
+
- app/views/permissions/edit.html.erb
|
67
|
+
- app/views/permissions/index.html.erb
|
68
|
+
- app/views/permissions/new.html.erb
|
69
|
+
- app/views/permissions/show.html.erb
|
70
|
+
- app/views/recoveries/edit.html.erb
|
71
|
+
- app/views/recoveries/new.html.erb
|
72
|
+
- app/views/registrations/new.html.erb
|
73
|
+
- app/views/sessions/new.html.erb
|
74
|
+
- app/views/sessions/no_access.html.erb
|
75
|
+
- app/views/user_invitations/index.html.erb
|
76
|
+
- app/views/user_invitations/new.html.erb
|
77
|
+
- app/views/users/edit.html.erb
|
78
|
+
- app/views/users/index.html.erb
|
79
|
+
- app/views/users/new.html.erb
|
80
|
+
- app/views/users/show.html.erb
|
81
|
+
- app/views/validations/activate.html.erb
|
82
|
+
- app/views/validations/resend_validation_email.html.erb
|
83
|
+
- config/locales/en.yml
|
84
|
+
- generators/authentasaurus/authentasaurus_generator.rb
|
85
|
+
- generators/authentasaurus/USAGE
|
86
|
+
- generators/authentasaurus/templates/authentasaurus_tasks.rake
|
87
|
+
- generators/authentasaurus/templates/defaults.yml
|
88
|
+
- generators/authentasaurus/templates/initializer.rb
|
89
|
+
- generators/authentasaurus_views/authentasaurus_views_generator.rb
|
90
|
+
- generators/authentasaurus_views/USAGE
|
91
|
+
- generators/authentasaurus_views/templates/views/areas/edit.html.erb
|
92
|
+
- generators/authentasaurus_views/templates/views/areas/index.html.erb
|
93
|
+
- generators/authentasaurus_views/templates/views/areas/new.html.erb
|
94
|
+
- generators/authentasaurus_views/templates/views/areas/show.html.erb
|
95
|
+
- generators/authentasaurus_views/templates/views/authentasaurus_emailer/invitation_mail.html.erb
|
96
|
+
- generators/authentasaurus_views/templates/views/authentasaurus_emailer/recovery_mail.html.erb
|
97
|
+
- generators/authentasaurus_views/templates/views/authentasaurus_emailer/validation_mail.html.erb
|
98
|
+
- generators/authentasaurus_views/templates/views/groups/edit.html.erb
|
99
|
+
- generators/authentasaurus_views/templates/views/groups/index.html.erb
|
100
|
+
- generators/authentasaurus_views/templates/views/groups/new.html.erb
|
101
|
+
- generators/authentasaurus_views/templates/views/groups/show.html.erb
|
102
|
+
- generators/authentasaurus_views/templates/views/permissions/edit.html.erb
|
103
|
+
- generators/authentasaurus_views/templates/views/permissions/index.html.erb
|
104
|
+
- generators/authentasaurus_views/templates/views/permissions/new.html.erb
|
105
|
+
- generators/authentasaurus_views/templates/views/permissions/show.html.erb
|
106
|
+
- generators/authentasaurus_views/templates/views/recoveries/edit.html.erb
|
107
|
+
- generators/authentasaurus_views/templates/views/recoveries/new.html.erb
|
108
|
+
- generators/authentasaurus_views/templates/views/registrations/new.html.erb
|
109
|
+
- generators/authentasaurus_views/templates/views/sessions/new.html.erb
|
110
|
+
- generators/authentasaurus_views/templates/views/sessions/no_access.html.erb
|
111
|
+
- generators/authentasaurus_views/templates/views/user_invitations/index.html.erb
|
112
|
+
- generators/authentasaurus_views/templates/views/user_invitations/new.html.erb
|
113
|
+
- generators/authentasaurus_views/templates/views/users/edit.html.erb
|
114
|
+
- generators/authentasaurus_views/templates/views/users/index.html.erb
|
115
|
+
- generators/authentasaurus_views/templates/views/users/new.html.erb
|
116
|
+
- generators/authentasaurus_views/templates/views/users/show.html.erb
|
117
|
+
- generators/authentasaurus_views/templates/views/validations/activate.html.erb
|
118
|
+
- generators/authentasaurus_views/templates/views/validations/resend_validation_email.html.erb
|
119
|
+
- lib/action_controller/authorization.rb
|
120
|
+
- lib/action_view/authorization.rb
|
121
|
+
- lib/active_record/acts_as_authenticatable.rb
|
122
|
+
- lib/active_record/acts_as_authenticatable_validatable.rb
|
123
|
+
- lib/active_record/authenticatable.rb
|
124
|
+
- lib/active_resource/acts_as_authenticatable.rb
|
125
|
+
- lib/active_resource/authenticatable.rb
|
126
|
+
- lib/authentasaurus/models/area.rb
|
127
|
+
- lib/authentasaurus/models/authentasaurus_emailer.rb
|
128
|
+
- lib/authentasaurus/models/group.rb
|
129
|
+
- lib/authentasaurus/models/permission.rb
|
130
|
+
- lib/authentasaurus/models/recovery.rb
|
131
|
+
- lib/authentasaurus/models/session.rb
|
132
|
+
- lib/authentasaurus/models/user_invitation.rb
|
133
|
+
- lib/authentasaurus/models/validation.rb
|
134
|
+
- lib/authentasaurus/areas_controller.rb
|
135
|
+
- lib/authentasaurus/authentasaurus_controller.rb
|
136
|
+
- lib/authentasaurus/groups_controller.rb
|
137
|
+
- lib/authentasaurus/permissions_controller.rb
|
138
|
+
- lib/authentasaurus/recoveries_controller.rb
|
139
|
+
- lib/authentasaurus/registrations_controller.rb
|
140
|
+
- lib/authentasaurus/sessions_controller.rb
|
141
|
+
- lib/authentasaurus/user_invitations_controller.rb
|
142
|
+
- lib/authentasaurus/users_controller.rb
|
143
|
+
- lib/authentasaurus/validations_controller.rb
|
144
|
+
- lib/helpers/migrations.rb
|
145
|
+
- lib/helpers/routing.rb
|
146
|
+
- lib/authentasaurus.rb
|
147
|
+
- rails/init.rb
|
148
|
+
- MIT-LICENSE
|
149
|
+
- README.rdoc
|
150
|
+
- TODO
|
151
|
+
has_rdoc: true
|
152
|
+
homepage: http://github.com/cousine/Authentasuarus-2
|
153
|
+
licenses: []
|
154
|
+
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options: []
|
157
|
+
|
158
|
+
require_paths:
|
159
|
+
- lib
|
160
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
hash: 3
|
166
|
+
segments:
|
167
|
+
- 0
|
168
|
+
version: "0"
|
169
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
hash: 27
|
175
|
+
segments:
|
176
|
+
- 1
|
177
|
+
- 3
|
178
|
+
- 0
|
179
|
+
version: 1.3.0
|
180
|
+
requirements: []
|
181
|
+
|
182
|
+
rubyforge_project:
|
183
|
+
rubygems_version: 1.3.7
|
184
|
+
signing_key:
|
185
|
+
specification_version: 3
|
186
|
+
summary: Restful dynamic group/permission based authentication and authorization for Rails
|
187
|
+
test_files: []
|
188
|
+
|