Jump to content

Visibility for navigation links (ACL)


Blesta Addons

Recommended Posts

it would be perfect if we can set the visibility level for navigation links, it would allow us to set which link will be visible for all, client only, guest only , some option like

'options' => ['visibility' => 'public'] = all vistors

'options' => ['visibility' => 'client'] = only clients

'options' => ['visibility' => 'visitors'] = only visitors

per default set to all .

 

as now all links added by plugin are shown in the Blesta client side, and we need to make some links only visible to client .

https://requests.blesta.com/topic/more-options-for-navigation-links

 

Link to comment
Share on other sites

3 hours ago, Paul said:

How do you distinguish between "public" and "visitors"?

public = all ,

visitors = maybe something like  if(!$logged_in)  or check blesta_id in session to see if this is a client . 

this is just a idea, the essential is somelinks should only for client, so i can confirm with (public, clients only :) )

 

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.

Guest
Reply to this topic...

×   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.

Loading...
×
×
  • Create New...