I have a project that with a number of Cloud Functions deployed and I want to allow users to only administer certain functions, ensuring that they are not able to overwrite certain existing functions. Is it possible to set permissions on a per function basis like this?
1 Answer
Yes, Roles can be granted to users on an entire project or on individual functions, for project wide roles/permissions go to the Main Menu > IAM; and add them there.
Edit To add IAM roles to specific functions only, go to Main Menu > Cloud Functions > click the checkbox at the left of the desired function > click "show info panel" (near the right) > permissions tab > add member
You can also use the gcloud functions add-iam-policy-binding command