Jump to content
  • 0

Remove/Disable cPanel login



3 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0
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

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?


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...