per-page permissions support #21

Closed
wants to merge 7 commits into from

2 participants

@mbryk

No description provided.

@mbryk

As opposed to the attributes of the model which are necessary only locally for the radio buttons and text fields, in order to let $page->permissions be accessible by other actions, it must become a stored property of the wikipage. Therefore, we must include "permissions" as another column in the WikiPage table. Without this, the code doesn't work, and $page->permissions is left empty. (The return false command in checkPermissions was therefore used for testing alone, and will be fixed once the database is corrected)

@samdark samdark closed this Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment