Access & governance / Resources

Custom Resources

Represent the objects in your product, invoices, projects, reports, as resources in WebFrolic, so roles, groups, access requests and API keys attach to the thing being protected. Each resource can be restricted, global or tenant-scoped, and can be made discoverable for requests.

Available now in WebFrolic.

Why it matters

Generic roles push teams toward hard-coded checks.

If authorization only understands application-wide roles, developers write special cases for every object type. Modeling your own resources keeps access decisions in one model, reviewable and enforced the same way everywhere.

Your objects

Resources that match your product

Identifier, namespace, name, description and scope for each resource type.

Tenant-aware

Restricted, global or tenant

Scope a resource to a tenant when tenancy is enabled.

Agent-ready

API keys per permission

Decide per action whether an integration or AI agent may call it with a key.

In the console

Set it up in four steps.

Menu names match the WebFrolic console. The setup guide has the detail.

01

Define the resource

In Authorization → Resources, add the resource and choose its scope.

02

Add permissions

Add one permission per action and set API Key Support? only where keys should work.

03

Grant access

Bundle permissions into roles and carry them on groups.

04

Enforce it

Register your API as a resource server with the self-hosted or WebFrolic-hosted authorization server.

Before rollout

Questions worth answering.

Settle these first and the rollout is mostly configuration.

  • List the object types your API protects.
  • Decide which are tenant-scoped.
  • Decide per action whether API keys may use it.
  • Mark requestable resources as discoverable.
  • Register the API as a resource server.

Related capabilities

Explore what connects to this.

These capabilities are usually configured together.

Evaluate with your scenario

Start with a concrete workflow.

Share the identities, resource boundary and decision you want to test. The walkthrough can focus on the relevant behavior rather than a generic feature tour.