Repository is archived
No commit activity in last 3 years
No release in over 3 years
Enables you to organize users into groups and apply group-based edit permissions to the page hierarchy.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.9.1
 Project Readme

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