Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 16, 2012
  1. Release 2.0.1

    authored
  2. Fiddly little comment tweaks

    authored
Commits on May 18, 2012
Commits on May 12, 2012
  1. Improve comment

    authored
  2. Won't implement.

    authored
    This is impossible in some cases, hard in others,
    and maybe be undesirably magical anyway.
    
    For instance, if someone wanted to do
    `link_to(@post)`, we could *maybe* determined the
    controller action and method and figure out if
    that's authorized or not. But if they do
    `link_to ('Search', 'http://www.google.com')`,
    there is truly no way for Authority to authorize
    that. So `authorized_link_to` would not be usable
    in that case, and it's unclear what it should do.
    
    Finally, if the developer does the normal
    `link_to(@post) if current_user.can_read?(@post)`,
    it's clear to him/her how Authority will answer
    that question. But with `authorized_link_to`,
    there would be a layer of magic in determining
    which permission to check, which would make this
    harder to understand and debug.
    
    So: not gonna do it.
  3. Done - thanks to @scottmartin

    authored
Commits on May 9, 2012
  1. Merge pull request #8 from scottmartin/master

    authored
    Fixed Controller Example
  2. @scottmartin

    Update README.markdown

    scottmartin authored
Commits on May 2, 2012
Commits on Apr 30, 2012
  1. Bump version

    authored
  2. Don't warn when we're testing

    authored
  3. Squashed commit: models assume ApplicationAuthorizer;

    authored
    install task generates it.
  4. Ignore Vim swap files

    authored
Commits on Apr 26, 2012
  1. Merge pull request #7 from kevmoo/master

    authored
    run travis across supported versions of rails
Commits on Apr 25, 2012
  1. @kevmoo

    update travis to tell all rails 3.x versions

    kevmoo authored
    travis defaults to 'rake' for script, so it's not needed
  2. Add Gemnasium status badge

    authored
  3. Updated TODO list

    authored
  4. Merge pull request #6 from kevmoo/master

    authored
    gemspec and test tweaks
  5. @kevmoo
  6. @kevmoo
  7. Show what's new in 1.1.0

    authored
Commits on Apr 24, 2012
  1. Bump version

    authored
  2. README now discusses methods

    authored
  3. Merge pull request #5 from kevmoo/master

    authored
    Whitespace cleanup and version tweaks
  4. @kevmoo

    whitespace cleanup

    kevmoo authored
  5. OCD alignment adjustment

    authored
  6. Merge pull request #4 from kevmoo/master

    authored
    Implement a class-level default strategy
  7. @kevmoo

    Added default strategy to authorizer

    kevmoo authored
    non-breaking change
Commits on Apr 23, 2012
  1. Update TODO with better ideas

    authored
Commits on Apr 21, 2012
Something went wrong with that request. Please try again.