Permalink
Browse files

Cleanup

  • Loading branch information...
1 parent 5326e5b commit 4a70740834d6192af85c7347e0067ccb0a66f3b4 @marekmurawski committed Apr 11, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 README.md
View
@@ -8,15 +8,19 @@ Users having administrator role can ***always*** edit and create PHP code. By de
A side effect of this plugin is ability to make page parts containing php code read only for unauthorised users. You just put _any_ php code into part contents and users without ***edit_parts_php*** permission won't be able to alter this page part, however they ***can*** delete it!
+## Installation & Documentation
+
+Restrict PHP Plugin can be installed into your WolfCMS by uploading it to <install location>/wolf/plugins/restrict_php and enabling it in Wolf administration panel.
+
### How to restrict PHP code in page parts?
You only need to enable the plugin. By default ***only administrators and developers*** can edit PHP code. This means that for example all users having only the standard Editor role are ***not allowed to***:
-* add PHP code blocks into page part content
-* edit page parts which already contain PHP code (created by administrator or developer)
+- add PHP code blocks into page part content
+- edit page parts which already contain PHP code (created by administrator or developer)
### How to allow _certain_ users to edit PHP code?
A specific user can be granted PHP editing permission in two ways:
-* by assigning ***Php Editor*** role to a selected user individually in standard Wolf Users administration tab
-* by assigning ***edit_parts_php*** permission to an existing role using ***Roles Manager*** plugin by andrewmman (found in Wolf CMS repository)
+- by assigning ***Php Editor*** role to a selected user individually in standard Wolf Users administration tab
+- by assigning ***edit_parts_php*** permission to an existing role using ***Roles Manager*** plugin by andrewmman (found in Wolf CMS repository)

0 comments on commit 4a70740

Please sign in to comment.