Fixed
Status Update
Comments
mi...@gmail.com <mi...@gmail.com> #2
Would like to be able to protect sheet then unprotect certain cells or ranges within the protected sheet so that it may facilitate users with input(create a form in essence).
The UI Services will probably make this redundant. I will definitely go Pro as soon as I get a credit card.
The UI Services will probably make this redundant. I will definitely go Pro as soon as I get a credit card.
in...@gmail.com <in...@gmail.com> #3
I discover an something into core "trix" in javascript. I see a function and a object as "getSpreadSheetConfig" and "setSheetProtection". I believe that this function/object can edit the Sheet Protection in a work book. You can investigate and try to find any solution for this issue.
I'm sorry my bad english
Please Google Apps Team Help us quickly !!!
I'm sorry my bad english
Please Google Apps Team Help us quickly !!!
[Deleted User] <[Deleted User]> #4
This is a really big hole in an otherwise tasty donut.
jb...@gmail.com <jb...@gmail.com> #5
Further to be able to set/get a given sheet read/write access, I suggest, for future development :
- to add the "no access at all" access level (I mean that the user that has this access cannot at all open this given tab sheet, but might be able to read or write on another sheet)
- to add access control by user on cells
- to add the "no access at all" access level (I mean that the user that has this access cannot at all open this given tab sheet, but might be able to read or write on another sheet)
- to add access control by user on cells
as...@google.com <as...@google.com> #6
There is now a Sheet#setSheetProtection method available.
Here is a sample to demonstrate it's usage:
// Add the "user@example.com" user to the list of users who can edit this sheet
var sheet = SpreadsheetApp.getActiveSheet();
var permissions = sheet.getSheetProtection();
permissions.addUser('user@example.com');
permissions.setProtected(true);
sheet.setSheetProtection(permissions);
The full documentation will be out very soon.
Best,
Anton
Here is a sample to demonstrate it's usage:
// Add the "user@example.com" user to the list of users who can edit this sheet
var sheet = SpreadsheetApp.getActiveSheet();
var permissions = sheet.getSheetProtection();
permissions.addUser('user@example.com');
permissions.setProtected(true);
sheet.setSheetProtection(permissions);
The full documentation will be out very soon.
Best,
Anton
Description
add sheet protection method to Sheet class