Jump to content

Question

Posted

Hi,

Is there away to remove/disable the cPanel login link from inside the client area that is shown under active services when the client clicks the service the link is then shown?

Thanks!

3 answers to this question

Recommended Posts

  • 0
Posted

Blesta enforces permissions for user access to pages, but not access to specific actions/data that may be displayed on those pages, which sounds like your requirement. If you wanted to restrict access to certain staff groups, you could update the system to determine the current user's staff group, check whether they are in the list of groups that are allowed access, and hide/show those fields based on that.

  • 0
Posted
On 4/25/2019 at 11:15 PM, Paul said:

You can remove it from the templates under /components/modules/cpanel/ I don't have explicit instructions, but it should be in a file ending in .pdt

Instead of me removing the code for this would there not be a way to restrict access to the cPanel information/link by restricting it with group permissions ?

For example 

{if $group eq 'A'}
    A does not have access to this area
{elseif $group eq 'B'}
    While group B can see this area
{/if}

I'm not sure what code it would have to be within blesta templates but would this be possable and can you point me in the right direction?

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...