Organize your users into groups and divide up site-editing privileges accordingly
Ruby
Switch branches/tags
Nothing to show
#1 Compare This branch is 32 commits ahead of saturnflyer:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db/migrate
lib
public/images/page_group_permissions
spec
.gitignore
README.textile
Rakefile
VERSION
page_group_permissions_extension.rb
radiant-page_group_permissions-extension.gemspec

README.textile

Page Group Permissions

Created by Matt Freels

This extension allows you to organize your users into groups and divide up site-editing privileges accordingly. It requires Radiant 0.8+ and the Shards extension found in the official Radiant repository.

Installation

From the Radiant Extension Registry

  1. From your RAILS_ROOT run:
    script/extension install page_group_permissions
  2. Restart your app
    NOTE: In some earlier versions of Radiant, the migrations may not run, and the assets may not be copied and you may therefore need to run:
    rake radiant:extensions:page_group_permissions:migrate
    rake radiant:extensions:page_group_permissions:update

From Github

  1. From your RAILS_ROOT run:
    cd vendor/extensions
    git clone git://github.com/avonderluft/radiant-page_group_permissions-extension.git ./page_group_permissions
    cd ../../
    rake radiant:extensions:page_group_permissions:migrate
    rake radiant:extensions:page_group_permissions:update
  2. Restart your app

Using the gem

  1. Install the gem
    gem install radiant-page_group_permissions-extension
  2. Update your Radiant config: add to environment.rb with other gem.configs
    config.gem ‘radiant-page_group_permissions-extension’, :lib => false
  3. Run database migrations
    rake db:migrate:extensions
  4. Copy assets
    rake radiant:extensions:update_all
  5. Restart your app

Usage

Create and edit groups and add/remove members from the new groups tag.
Add page to a group by editing the page.
A member of a group has permission to edit any page owned by the group or children of said pages.

Revision History

  • 12/2013 – Add model for join table groups_users [Andrew vonderLuft]
  • 2/2013- Fix deprecations [Andrew vonderLuft]
  • 5/2011 – Compatible with >= 0.9 [Andrew vonderLuft, Jim Gay]
  • 7/7/2009 – Updated to work with Radiant 0.8+ [Matthew Bass]

To do

  • Update Group index view to conform to Blade UI
  • Create Help file for Help extension

Contributors

  • Matt Freels
  • Nikos Dimitrakopoulos
  • Jim Gay
  • Matthew Bass
  • Andrew vonderLuft