-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# Memberships engine for Refinery CMS. | ||
Allows you to associate roles with users and pages. Assigning a role to a page means only users with that role will be able to see it. | ||
|
||
## How to build this engine as a gem | ||
User roles are currently assignable via the user admin pages, but I wanted a simpler way to do it. | ||
|
||
cd vendor/engines/memberships | ||
gem build refinerycms-memberships.gempspec | ||
gem install refinerycms-memberships.gem | ||
|
||
# Sign up for a http://rubygems.org/ account and publish the gem | ||
gem push refinerycms-memberships.gem | ||
Still needed: | ||
* Proper 403 page. Right now, it 404's which is not correct. | ||
* Members list based on a given role | ||
* Roles management page | ||
* Add :title to the User model so the engine will always use title | ||
* Expand to other models | ||
|
||
Check it out, use it, hack it and contribute back. |