How to restrict access to dashboard
Permalink
When running an earlier version of c5 I was able to replace the c5 logo in the dashboard and login screen with my own logo. I was also able to restrict access to the dashboard. However, since I updated to 5.5, the logo has reverted back to the c5 logo and the dashboard is available to all registered users and groups. Now I cannot figure out how to do both of those things. My primary concern is hiding the dashboard from users. I want them to be able to edit the page that they have permission to edit, but that's it. No ability to even view the "Dashboard" dropdown menu.
I've seen alot of talk about the white labeling options available in 5.5, but I missing the documentation that explains it.
Thanks in advance for any help. I'm sure these are problems easily solved by someone with programming skills, but for someone like me it's not so straightforward. But I've always been so thankful for the talented c5 community's ability to help out and explain.
I've seen alot of talk about the white labeling options available in 5.5, but I missing the documentation that explains it.
Thanks in advance for any help. I'm sure these are problems easily solved by someone with programming skills, but for someone like me it's not so straightforward. But I've always been so thankful for the talented c5 community's ability to help out and explain.
Now that's a quick reply! Thank you so much for taking the time to help out! I'll check out the documentation.
Any ideas on how to hide "Dashboard" from the edit bar when users are logged in? I only want the edit bar to display "Dashboard" for admins. I don't want it to show for all other users.
enable advanced permissions, that will give you more ocntrol on what they can see.
Thanks for your reply. I've had advanced permissions activated and it works great for regulating which pages users can see and what they can edit. However, on pages where I give users editing permissions they are able to see the Dashboard in the edit bar and are able to access many parts of the dashboard. Nothing I've done with advanced permissions seems to affect the dashboard. I don't want users to be able to access the dashboard at all.
Thanks again for your help
Thanks again for your help
Maybe it is this group of settings pages you need:
/dashboard/system/
/dashboard/system/
I've updated to 5.5 and I'm trying to hide the "Dashboard" on the edit bar from users. I'm having a hard time figuring out how to do that, so as an alternate plan, I thought I'd try to just remove it from the edit bar. I went to concrete/tools/page_controls_menu and deleted the following lines of code:
<?php if ($dh->canRead()) { ?>
<?php if ($c->isMasterCollection()) { ?>
menuHTML += '<li><a id="ccm-nav-dashboard" class="return-to-pagetypes" href="<?php echo View::url('/dashboard/pages/types')?>"><?php echo t('Back to Page Types')?></a></li>';
<?php } else { ?>
menuHTML += '<li><a id="ccm-nav-dashboard" href="<?php echo View::url('/dashboard')?>"><?php echo t('Dashboard')?></a></li>';
<?php } ?>
<?php } ?>
Keep in mind, I don't know any programming, so please don't laugh too hard if what I did was ridiculous. Anyway, it did not remove the "Dashboard" from the edit bar. It didnt' have any affect that I noticed.
Any suggestions? Thanks for your help.
<?php if ($dh->canRead()) { ?>
<?php if ($c->isMasterCollection()) { ?>
menuHTML += '<li><a id="ccm-nav-dashboard" class="return-to-pagetypes" href="<?php echo View::url('/dashboard/pages/types')?>"><?php echo t('Back to Page Types')?></a></li>';
<?php } else { ?>
menuHTML += '<li><a id="ccm-nav-dashboard" href="<?php echo View::url('/dashboard')?>"><?php echo t('Dashboard')?></a></li>';
<?php } ?>
<?php } ?>
Keep in mind, I don't know any programming, so please don't laugh too hard if what I did was ridiculous. Anyway, it did not remove the "Dashboard" from the edit bar. It didnt' have any affect that I noticed.
Any suggestions? Thanks for your help.
Thanks for taking the time to check it out and respond. Perhaps I just did a VERY poor job of explaining what I was looking to do. Fortunately, I just found the VERY simple solution to my problem.
Sitemap---Show System Pages---Dashboard---Permissions---Uncheck all "Read" permissions.
Problem solved!!!
Sorry for making it seem more complicated than it was. I think this is what you guys were both hinting at, but it took me a while to put it together. Again, your help is much appreciated.
Sitemap---Show System Pages---Dashboard---Permissions---Uncheck all "Read" permissions.
Problem solved!!!
Sorry for making it seem more complicated than it was. I think this is what you guys were both hinting at, but it took me a while to put it together. Again, your help is much appreciated.
http://www.concrete5.org/documentation/how-tos/developers/white-lab...