This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

lonnieje16829
lonnieje16829

I've inherited a site built in October. It doesn't seem to be quite the normal site, though, as it doesn't use the CMS portion of the app at all. Instead, it uses the backend to provide a UI for managing a small API. My boss is asking me to remove the main links from the backend toolbar (Dashboard, CMS, and Media) but I can't seem to come up with a way that isn't hacking the core, which I really don't want to do. It doesn't help that this is my first time using October, either.

Is there a way that I can turn those buttons off, or hide them from certain user groups?

KurtJensen
lonnieje16829
lonnieje16829

Thanks for the reply Kurt.

From what I've read on that, it works great for any plugins that provide permissions, but I am not sure how to make that work with core October features, like the CMS tab and Media tab. Any ideas?

LilEssam
LilEssam

With October It's so easy. You can just create a new plugin that works as a theme for backend and you can modify anything you want.

axomat
axomat

You dont need to create another plugin, just amend the permissions of the administrator to prevent access to the cms, media and dashboard pages.

benm
benm

axomat said:

You dont need to create another plugin, just amend the permissions of the administrator to prevent access to the cms, media and dashboard pages.

I would also like to disable the CMS and Builder tabs on the backend for a non-admin user who will only be editing blog posts and other simple content.

I visited the link http://octobercms.com/docs/backend/users#page-access. It seems this is for controlling access for a custom plugin not a core plugin. I am a newbie with this though, so must be missing something. Is it the same as 'extending' the built-in plugins? Where exactly do I put my registerPermissions block?

Harti
Harti

Has this been resolved in the meantime?

jered.masters3609
jered.masters3609

For anyone still trying to workout how to remove the dashboard, put this in your plugin->boot() function:

    \Event::listen('backend.menu.extendItems', function ($navigationManager) {
      $navigationManager->removeMainMenuItem('October.Backend', 'dashboard');
    });

Last updated

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.