Function Store
  • Home
  • Getting started
    • Introduction
    • Installing a function
    • Reconfiguring a function
    • Uninstalling a function
    • FAQs
  • Reference
    • Requirements
      • Assign Roles
        • User permissions
      • Link a Billing account to your project
      • Enable the APIs
    • Projects
      • How to add a project
      • How to set up a project
    • Functions
      • Benefits
      • Use cases
      • Authentication when installing
      • Runtime configuration
      • Deploying with a ZIP file
    • Policies
      • How to add a Policy
      • How to remove a Policy
    • Authentication
      • Users
      • Roles
      • Permissions
    • Secrets
      • Creating a Secret
      • Using a Secret
      • Changing the value for a Secret
      • Deactivating a Secret
  • developers
    • Overview
    • Getting Started
    • Set up
    • Workspaces
      • Create a workspace
      • Workspace boilerplate
      • Node engines
    • Writing Functions
      • Function Anatomy
      • Configuration file
      • Function Triggers
      • Environment Variables
        • Type "text"
        • Type "number"
        • Type "email"
        • Type "url"
        • Type "json"
        • Type "boolean"
        • Type "select"
        • Type "multiselect"
        • Type "firestoreDocumentPath"
        • Type "firestoreCollectionPath"
        • Type "color"
      • Documentation
    • Push/Update your functions in the cloud
    • Continuous Integration
    • Publish functions in the Marketplace
    • Emulators
      • Initialize emulators in your workspace
      • Environment variables
      • Starting emulators
      • Testing your functions in the emulator
      • Importing existing data into local emulators
        • Exporting data from Cloud Firestore to local emulator
        • Exporting user accounts from Firebase to local emulator
    • Visual Studio Code Extension
      • Installing the extension
      • Extension UI
      • Functions list
      • Creating and editing functions
      • Emulators
      • Extension settings
      • Troubleshooting
        • "Command not found" error when executing a command
  • Billing
    • Understanding Billing
  • Security
    • Security
  • Resources
    • Events and Triggers
    • Best Practices
      • How to log events in functions?
    • Document your Functions
    • Editorial guidelines
    • Our Processes
      • Use Cases Analysis
  • Use cases
    • Custom Stripe Checkout
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. Requirements
  3. Assign Roles

User permissions

Assign permissions to your user.

PreviousAssign RolesNextLink a Billing account to your project

Last updated 3 years ago

Was this helpful?

In GCP, you don't directly grant users permissions. Instead, you grant them roles. These are the permissions associated with the roles that you granted to use Function Store and a brief description of what they do:

Permission

Description

cloudfunctions.functions.create

Create new functions.

cloudfunctions.functions.delete

Delete functions.

cloudfunctions.functions.setIamPolicy

Update IAM policies associated with a function.

cloudfunctions.functions.update

Update existing functions.

cloudfunctions.functions.list

List functions.

cloudfunctions.functions.get

View functions, excluding IAM policies.

serviceusage.services.get

Returns the service configuration and enabled state for a given service.

serviceusage.services.enable

Enable a service so that it can be used with a project.

resourcemanager.projects.get

Grant permissions to retrieve Firebase project information.

firebaseauth.users.get

Retrieve a list of existing Authentication users.

firebaseauth.users.update

Update existing users in Authentication.

iam.serviceAccounts.actAs

Permission to impersonate a service account in order to attach that service account to a resource.

Note that for HTTPS functions, you need to set up the cloudfunctions.functions.setIamPolicy to invoke the function.

Once you've granted these permissions by assigning roles to your service account, it's time to link a billing account. In the next section, we'll guide you through the process.

👇