sio2project/oioioi — pull request #1 by mitrandir77 (2012-09-09 09:36:09+00:00)
Title: better permissions enforcement framework

Hi,
I thought a bit about enforcing permissions in sio2 and I came to following conclusions:
* permission denied error should be definitely avoided - if user is forbidden to see it he shouldn't see any link to it
* permission enforcement and hiding links logics is strongly connected so the conditions code should be shared beetween those components

As a result I implemented this :)