Issue 21624 - security options do not function
Summary: security options do not function
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: current
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: duncan.foster
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-23 16:28 UTC by robert.kinsella
Modified: 2004-11-26 09:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description robert.kinsella 2003-10-23 16:28:26 UTC
StarOffice 8695 on mercury (suse linux)

Create a simple basic macro e.g. macro1, to execute e.g. msgbox "test"
(or use an alternate e.g. java, beanshell)
Assign the macro to a menu item.
Select Tools, options, security. 
Set Run Macro option to never.

Select the menu item made to execute the script
BUG the script executes, scripts should not execute when security option is set
to never.
Comment 1 robert.kinsella 2003-10-23 16:29:44 UTC
setting to higher priority
Comment 2 noel.power 2003-10-28 09:57:16 UTC
assign to duncan
Comment 3 noel.power 2003-10-29 10:01:51 UTC
Changed milestone
Comment 4 duncan.foster 2003-10-29 15:04:08 UTC
We had removed the Scripting frameworks code for doing a security
check without adding code to call the sfx2 modules security check. 
Added this to the ScriptProtocolHandler.
Needed to add a method to the SfxObjectShell to allow read-only access
to the MacroMode. 
Comment 5 duncan.foster 2003-10-29 15:14:02 UTC
Should also mention that now, since the ScriptProtocolHandler depends
on the sfx2 library, the SHL1TARGET for the protocolhandler has been
changed to include the UPD.
Comment 6 duncan.foster 2004-11-26 09:37:28 UTC
closed