-- 1. About Authors the permission is same as the Joomla User manager permission, you think to add a custom one?
-- 2. About File Manager we already have 3 permissions: (a) File manager access, (b) upload new files, (c) list/view all files in file manager, so what do you mean?
-- 3. For (Content) Import it is same as "can submit/create content item (article) permission, you think to use a more specific one ? (for this i think we should, it is very easy and i will, see below)
It is
very easy to add to J2.5 (for J1.5 is easy too since we add already added some custom for adding new ACL rules , but it requires a little more work)
So, i will add (for import) in next commits
--
To test this now in J2.5 (it is only 2 lines of code):
1. Edit flexi_backend_folder/
access.xml and after :
<!-- VARIOUS management tabs -->
add:
Code:
<action name="flexicontent.manageimport" title="<b>Types: -- manage --</b>" description="Allow users in the group to have access to the (Content) Import Management." />
2. edit flexi_frontend_folder/
helpers/permission.php and replace:
// IMPORT: management tab
$permission->CanImport = $permission->CanAdd;
with
Code:
// IMPORT: management tab
$permission->CanImport = $user->authorise('flexicontent.manageimport', 'com_flexicontent'); // (backend) Allow management of (Content) Import
3. Relogin to your site and click the post-install task asking you to update permissions
4. Edit the permission per user-group
I give you these so that in future you can use:
$user->authorise('flexicontent.
mycustomrule', 'com_flexicontent');
To add your custom rules,
and e.g. use them inside custom template or frontend view joomla override, unfortunately upgrading FLEXIcontent will overwrite access.xml