Ticket #6671 (closed Bug: fixed)

Opened 7 years ago

Last modified 7 years ago

Manage portlets fallback link should not be shown to anonymous users

Reported by: ldr Owned by: optilude
Priority: minor Milestone: 3.0rc1
Component: General Version:
Keywords: portlets Cc:

Description

main_template.pt includes the following code which gives a fallback link when no portlets are shown. This shows up even for anonymous users, who following the link are asked to log in. I presume that the permissions "Portlets: Manage own portlets" and "Portlets: Manage portlets" should be checked, I'm just not sure where (i.e. in a view rather than directly in the template).

      <div tal:condition="python:not sl and not sr">                                                                       
          <a class="managePortletsFallback"                                                                                
             tal:attributes="href string:${context/absolute_url}/@@manage-portlets"                                        
             i18n:translate="manage_portlets_fallback">                                                                    
             Manage portlets                                                                                               
          </a>                                                                                                             
      </div>

Change History

comment:1 Changed 7 years ago by optilude

  • Status changed from new to closed
  • Resolution set to fixed

(In [15676]) Don't show the manage portlets fallback unless you have the right to manage portlets. Closes #6671.

comment:2 Changed 22 months ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.