Member Permissions

Hello..

I have enabled group, pages and file plugin. But, I want to block members new group creation, uploading a file and writing a page. Only site admins do them.

How can I do it? Thanks..

  • There is a way to do this with custom code. I don't know if there are any ready to use modules that do this for you. The code would catch the page setup and remove menu items for non-admins. It would look something like this:

    register_elgg_event_handler('pagesetup','system','filter_menu_items_at_page_setup', 10001 /* close to last to run */);

    function filter_menu_items_at_page_setup($event, $object_type, $object) {
        if(!isadminloggedin()) {
            // remove group creation menu item
            remove_submenu_item(elgg_echo('groups:new'), '1groupslinks');           
        }
    }

  • There are a couple of plugins that can handle stopping users creating new groups in different ways. It depends which version of elgg you are using.

    For the others, there are currently no ready-to-go plugins that deal with files/pages plugins.