1

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 1

1

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

2
  • Thanks, I had a look at the permissions tab but it seems you can't actually add users there, just view who has what permissions
    – Max888
    Jun 10, 2020 at 17:35
  • You are right, I have edited my answer with the correct way of adding permissions to individual functions
    – Andres S
    Jun 10, 2020 at 19:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .