Modify

Opened 15 years ago

Closed 15 years ago

#5374 closed defect (wontfix)

Anonymous history diff shows the ProtectedMacro part

Reported by: klaux Owned by: frayja
Priority: high Component: ProtectedMacro
Severity: major Keywords:
Cc: klaux1@… Trac Release: 0.11

Description

Ie.:

  • Wiki page
Public text 1
{{{
#!protected
User: foo
Pass: bar
}}}
Public text 2
  • Anonymous History diff
  • Version

     
    11Public text 1
     2{{{                                               
     3#!protected                                       
     4User: foo
     5Pass: bar
     6}}}
    27Public text 2

Thx.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by frayja

Resolution: wontfix
Status: newclosed

The history diff is deeply embedded into Trac. This problem can't be fixed without modifying trac itself, and that can't be done from a plugin.

I suggest removing the TIMELINE_VIEW permission from anonymous users. Than they won't be able to see -any- diff, including the protected ones.

Unfortunately this is the best solution I have been able to find. Suggestions are welcome.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain frayja.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.