Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(ORG-8018) Project Protection with Admin Password

 We have introduced the concept of Admin Mode to the Origin Project, with an Admin password. Once a project is protected by a password, worksheet and workbook protection features can be accessed only after user has logined with the admin password. We have also added LabTalk access to protect books and sheets.

...

 Various objects like worksheet, workbooks can be assigned different protection flags. These flags are listed in the following table

 10

Hex Value

Description
2Data: This include all the cells in a worksheet, data cells or label cells
4Style: Display style, like the color of the cell, or the cell formatting, this is currently not yet fully implemented
10Formula: Column Formula, Analysis Operation, Codes attached to Project etc.  80
80 StructureStructure: This include like the number of rows and columns in a worksheet. inserting, deleting etc. 
 400 Delete: Prevent the object from being deleted

Workbook Worksheet Protection Commands

...

CommandDescription          Examples       

layer -lw n

set worksheet write access flags

lay -lw hex(82);//set active sheet to protect data and structure

lay -lw;//protect everything

lay -lw 2;// protect only data

layer -lt print out current protection flags 
page -lw nset workbook write access flags 
 page -lt print out the current protection flags

 page -lw;//lock book and all sheets, nothing can be change and cannot delete book or sheets

page -lw hex(400);//prevent user deleting the book