restrict other users from modifying others data in google sheet

283 views
Skip to first unread message

Getnet Demil

unread,
May 13, 2022, 4:59:57 AM5/13/22
to Google Apps Script Community
hello, I have created a google sheet of 6 users shared in editor permission to the sheet.
each users input their own data and they only can modify it later.
But I want to restrict other users from modifying other's data in google Sheets?
I don't want others can change someone data

so if anyone with the app script code to restrict modifying  others data, please help me?????????

Brian Pugh

unread,
May 13, 2022, 5:56:52 AM5/13/22
to google-apps-sc...@googlegroups.com
You can set the permissions on each tab so that only you and each user can edit that tab.







Brian Pugh, IT/Educational Technologies



Associated Hebrew Schools | Danilack Middle School

p: 416.494.7666, | e: bp...@ahschools.com

w: www.associatedhebrewschools.com

252 Finch Ave W., Toronto, ON M2R 1M9


facebook.png twitter.png instagram.png 


This email is confidential and is intended for the above-named recipient(s) only. If you are not the intended recipient, please delete this email from your system. Any unauthorized use or disclosure of this email is prohibited.




--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/80fa4e0b-5d1a-40bd-912a-75213aa34265n%40googlegroups.com.

Getnet Demil

unread,
May 16, 2022, 5:19:15 AM5/16/22
to google-apps-sc...@googlegroups.com
I dont get you.

You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/um6fbucdf4c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAJBn2DQL8umossuuZHu3OwRYYOHOSTuZevmwv4ES8FCj53iK%2BQ%40mail.gmail.com.

Jonathan Butler

unread,
May 16, 2022, 8:58:35 AM5/16/22
to google-apps-sc...@googlegroups.com
Go to the arrow at the bottom of the screen and hit protect sheet. Then restrict the range to custom. Add the person you want to edit that particular sheet.
image.png
image.png

Getnet Demil

unread,
May 16, 2022, 9:11:50 AM5/16/22
to google-apps-sc...@googlegroups.com
I want to restrict within the same sheet 
when someone types for the first time 
the system will automatically identify him 
and will only allow him to modify. 

אוריאל בלמס

unread,
May 18, 2022, 4:15:00 AM5/18/22
to Google Apps Script Community
היי 

במענה לשאלתך..

אין לי ידע מקצועי בעניין הזה..

אך מהתכתבויות של אחרים שראיתי במקרים דומים ...  נראה שבאמצעות "סקריפט" לא שייך להגביל את שם המשתמש הנוכחי.

ראה התכתבות בקישור להלן:

וכן בקישור להלן:

באם בכל זאת מצאת פיתרון בעניין הזה אשמח להתעדכן...

בברכה

אוריאל

ב-יום שני, 16 במאי 2022 בשעה 16:11:50 UTC+3, getn...@gmail.com כתב/ה:

Getnet Demil

unread,
May 18, 2022, 5:03:54 AM5/18/22
to google-apps-sc...@googlegroups.com
still no one answered my question

I want to restrict modifying the inputs based on who first ytped the data.
that means if I first type in the row then I only will modify it.

Reply all
Reply to author
Forward
0 new messages