02 Feb, 2015

1 commit

  • If the user is profile/environment admin, bypasses the permissions check
    so that he/she always has access to everything related to the profile.
    
    The absence of this feature caused many strange behaviors like env
    admins unable to access a community control panel section.
    
    This also caused many complex permission checking codes where we were
    forced to test lots of combinations instead of a straight check (e.g.
    user is env admin or user is profile admin or user has permission x or
    ...).
    
    After this change, there might still be redundant testing around the
    code, but that might be reviewed slowly.
    Rodrigo Souto
     

28 Jan, 2015

2 commits


27 Jan, 2015

1 commit

  •   Now all tests pass.
    
      A couple aditional changes:
        - Replacing flash notice for session notice;
        - Cancel a task if it fails. A task can fail for many reasons,
        including for validation, so I thought it would make sense to cancel
        a task to publish an article if it fails. For example if the title
        is too big validation will fail, the task will fail and the user
        will get a message saying publish request couldn't be sent, so
        naturally the user will try to publish again, hopefully this time
        succeding.
    Larissa Reis
     

16 Jan, 2015

4 commits


15 Jan, 2015

8 commits


14 Jan, 2015

11 commits


13 Jan, 2015

2 commits


12 Jan, 2015

2 commits


09 Jan, 2015

1 commit


08 Jan, 2015

1 commit


06 Jan, 2015

1 commit


05 Jan, 2015

1 commit


26 Dec, 2014

1 commit


23 Dec, 2014

1 commit


22 Dec, 2014

3 commits