summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
author"Lester Caine ext:(%22) <lester@lsces.co.uk>2012-05-28 12:49:05 +0100
committer"Lester Caine ext:(%22) <lester@lsces.co.uk>2012-05-28 12:49:05 +0100
commit0e7585fdd738a97f814f437c4cc5b0ed09d50533 (patch)
treeececf7255addba2fd71aca4cab9f301e06accf81 /admin
parent38008895153a0d8ca2cea09127e3be9c39f29768 (diff)
downloadliberty-0e7585fdd738a97f814f437c4cc5b0ed09d50533.tar.gz
liberty-0e7585fdd738a97f814f437c4cc5b0ed09d50533.tar.bz2
liberty-0e7585fdd738a97f814f437c4cc5b0ed09d50533.zip
Have decided best way of controlling switch between roles and groups is to
use 'protector' package. While you can use roles without it, it does need it but 'protector_group' is probably redundant - still need to control liberty_content_permissions, but actually THAT is replaced by liberty_content_role_map in my model anyway.
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_liberty_inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/admin_liberty_inc.php b/admin/admin_liberty_inc.php
index 7641b2e..92b0888 100644
--- a/admin/admin_liberty_inc.php
+++ b/admin/admin_liberty_inc.php
@@ -33,6 +33,11 @@ if( $gBitSystem->isPackageActive( 'quota' )) {
}
if( $gBitSystem->isPackageActive( 'protector' )) {
+ $formLibertyFeatures['protector_single_role'] = array(
+ 'label' => 'Protector System Single role per content item',
+ 'note' => 'Limit the protector system to asign a content item to a single role. The alternative allows content in multiple roles.',
+ );
+} elseif( $gBitSystem->isPackageActive( 'protector_group' )) {
$formLibertyFeatures['protector_single_group'] = array(
'label' => 'Protector System Single group per content item',
'note' => 'Limit the protector system to asign a content item to a single group. The alternative allows content in multiple groups.',