Authorization
-
shawn (at vegantech)
We're going to pair on this, divide it up to try to get most of it done today.
Model
Role: belongs_to district, state, country, system? (systemwide role, probably just a boolean)
Only one of them can be populated.
basic crud of roles (scaffolding might be fine) First we'll do the district level, but discuss ways to handle systemwide, countrywide, and statewide roles. (Separate controller?)
For the role, select controllers and Read/Write access. Basically come up with a list of controllers.
Controllers themselves should have an optional friendly name, and be able to classify methods as read or write outside of the restful defaults.)
Role assignment to users. HABTM is fine for now, unless we need to track who did the assigning.
-
shawn (at vegantech)
rest of users should have "teacher" or "user" access
-
shawn (at vegantech)
- Assigned user set to shawn (at vegantech)
Also need authorize before filter to actually use the roles.
-
shawn (at vegantech)
(from [1f272d66d9c9c84dc64e83a829b5bed53d482b96]) Generated rspec scaffold for roles [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [ba4822aa2eac170176764e6e65011e7ea71a53aa]) reran annotate models, created roles_users join table and associations, validation for one parent association of role [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [91dc4ee382fffb86053b3fa9fa0614d31af210f3]) generated scaffold for rights [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [c33430d7d90d553fe4daf349fcbbe16c013a2db1]) some validations for rights [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [deef2784c696845882ed23654f843d5785d66acc]) starting to work on authorize method [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [c52fe8a11f1288e1d15e81cba3fd83b4f9cf0c92]) enabled authorize filter [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [a5f498a9080c7cb4d3aa1e928a6de4bb301809ce]) spec and implement action group for current action [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [8bb56c75bd16513db4bcb42a8392f9659acf7b21]) working on authorized_for [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [03946b4a9966e837108e60be915c00fe5aa09ec8]) authorize filter is implemented and speced, along with associated model methods features currently need adjustment [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [98018f175ec700c6d20feec14d549be1abbbeb16]) authorize filter is implemented and speced, along with associated model methods features currently need adjustment [#47] http://github.com/vegantech/sims...
-
shawn (at vegantech)
(from [288f768a7880669c5dd9253d10f8c9671f393ac7]) most of the cucumber features work again [#47] http://github.com/vegantech/sims...
-
bendycode
Add demo roles
-
shawn (at vegantech)
crud for roles in ticket 90.
-
shawn (at vegantech)
- State changed from new to resolved
I think this is basically done, or split up into other tickets.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.