olbrich / radiant-rbac_assets-extension

A Radiant CMS extension based on rbac_snippets that creates the added role of Assets. Users not in the Assets role cannot edit Assets. To be used in tandem with paperclipped. Note: paperclipped must be installed before rbac_assets. Works with 0.8.0 release.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

=rbac_assets


Created for Radiant 0.8.0 and higher RBAC_Assets is an extension that utilizes the extension RBAC_Base to allow only users in the "Assets" role to edit assets. If you do not have the rbac_base extension installed it will raise a RbacSnippetsExtension::MissingRequirement exception when activated.

Truly the credit for this extension goes to Jim Gay at "SaturnFlyer":http://www.saturnflyer.com 
The inspiration and code for this extension is based on his excellent RBAC_snippets http://ext.radiantcms.org/extensions/88-rbac-snippets

See RbacBaseExtension http://ext.radiantcms.org/extensions/87-rbac-base

---------------------------------------

First Install the rbac_base extension from the Radiant CMS extension repository then:

 'rake radiant:extensions:rbac_base:migrate'
 'rake radiant:extensions:rbac_base:update'


Install rbac_assets and run migration and update tasks:

'rake radiant:extensions:rbac_assets:migrate'
'rake radiant:extensions:rbac_assets:update'


Restart server





  

About

A Radiant CMS extension based on rbac_snippets that creates the added role of Assets. Users not in the Assets role cannot edit Assets. To be used in tandem with paperclipped. Note: paperclipped must be installed before rbac_assets. Works with 0.8.0 release.

License:MIT License