Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Authorization

#47

Reported by bendycode · October 18th, 2008 @ 01:10 PM

State: resolved
Assigned to: shawn (at vegantech) shawn (at vegantech)

Activity

  1. shawn (at vegantech)
    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.

    November 11th, 2008 @ 12:00 PM

  2. shawn (at vegantech)
    shawn (at vegantech)

    rest of users should have "teacher" or "user" access

    November 11th, 2008 @ 12:19 PM

  3. shawn (at vegantech)
    shawn (at vegantech)
    • Assigned user set to shawn (at vegantech)

    Also need authorize before filter to actually use the roles.

    November 11th, 2008 @ 12:42 PM

  4. shawn (at vegantech)
    shawn (at vegantech)

    (from [1f272d66d9c9c84dc64e83a829b5bed53d482b96]) Generated rspec scaffold for roles [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 12:42 PM

  5. shawn (at vegantech)
    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...

    November 11th, 2008 @ 01:17 PM

  6. shawn (at vegantech)
    shawn (at vegantech)

    (from [91dc4ee382fffb86053b3fa9fa0614d31af210f3]) generated scaffold for rights [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 01:29 PM

  7. shawn (at vegantech)
    shawn (at vegantech)

    (from [c33430d7d90d553fe4daf349fcbbe16c013a2db1]) some validations for rights [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 02:06 PM

  8. shawn (at vegantech)
    shawn (at vegantech)

    (from [deef2784c696845882ed23654f843d5785d66acc]) starting to work on authorize method [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 02:41 PM

  9. shawn (at vegantech)
    shawn (at vegantech)

    (from [c52fe8a11f1288e1d15e81cba3fd83b4f9cf0c92]) enabled authorize filter [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 03:32 PM

  10. shawn (at vegantech)
    shawn (at vegantech)

    (from [a5f498a9080c7cb4d3aa1e928a6de4bb301809ce]) spec and implement action group for current action [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 03:32 PM

  11. shawn (at vegantech)
    shawn (at vegantech)

    (from [8bb56c75bd16513db4bcb42a8392f9659acf7b21]) working on authorized_for [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 04:33 PM

  12. shawn (at vegantech)
    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...

    November 11th, 2008 @ 04:33 PM

  13. shawn (at vegantech)
    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...

    November 11th, 2008 @ 04:34 PM

  14. shawn (at vegantech)
    shawn (at vegantech)

    (from [288f768a7880669c5dd9253d10f8c9671f393ac7]) most of the cucumber features work again [#47] http://github.com/vegantech/sims...

    November 11th, 2008 @ 04:54 PM

  15. bendycode
  16. shawn (at vegantech)
  17. shawn (at vegantech)
    shawn (at vegantech)
    • State changed from new to resolved

    I think this is basically done, or split up into other tickets.

    November 13th, 2008 @ 12:42 PM

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.