gnowledge/gstudio — pull request #212 by AvadootNachankar (2014-02-22 07:27:43+00:00)
Title: Bug resolved: Updated access-policy setting for a resource while saving

* Previous Bug: When the non-creator of a resource edits it, the access-policy setting was getting modified to "PRIVATE" by default.

* To resolve this I modifed following file:
- views/methods.py file: Just placed an extra if condition that make sure if access_policy is set/modified from template (possible only by creator of the resource), then only modify node's access_policy; otherwise don't do anything!