ERPClimb logoERPClimb
BTP Security
Security & GRCadvanced 4 min read

Role Templates, Roles and Role Collections in SAP BTP (Part 2)

Preview · a free account unlocks the full lesson

Key takeaway

Understand BTP authorization composition: applications define role templates, role instances are created from those templates, and role collections group roles so they can be assigned to users or trusted-IdP groups.

In this lessonShow sections

Visual overview

Role Templates, Roles and Role Collections in SAP BTP (Part 2) — learning sheetIn one line: Understand BTP authorization composition: applications define role templates, role instances are created from those templates, and role collections group roles so they can be assigned to users or trusted-IdP groups.ERPClimb.com / GRC / LESSON 2/5 / LEARNING SHEETRole Templates, Roles and Role Collections in SAP BTP(Part 2)1 · IN ONE LINEUnderstand BTP authorization composition: applications define role templates, role instancesare created from those templates, and role collections group roles so they can be assignedto users or trusted-IdP groups.2 · KEY IDEAS EXPLAINEDThe Three LayersRole template: application-provided authorizationblueprintRole: an instance of a template, potentially withattribute valuesWhy The Layering ExistsApplication developers define scopes/roletemplatesPlatform/security administrators assemblemeaningful collections (Viewer, Operator, AppAdministrator) per least privilegeThe Over-Grant TrapDefault BTP collections (Subaccount Administrator,etc.) get assigned when a narrowerservice-specific role would doBroad IdP group → role collection mapping cansilently grant cloud administration — test beforetrusting itWhat To AuditEffective role collections, high-privilege roles,who can assign roles, unused legacy collections3 · DO · AVOIDBest practice!Common mistakeUse task-specific role collections.Keep collection naming business/operationallymeaningful.Restrict who can manage role assignments.✕Assigning Subaccount Administrator for everysupport task.✕Confusing scopes, role templates, roles androle collections.✕Creating many overlapping role collectionswith no owner.4 · IN A REAL PROJECTA support engineer needed to manage destinations. The team initially assigned Subaccount Administrator,granting far more rights than needed. Review identified the dedicated destination administration rolecollection/capability and replaced the broad admin access.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

SAP BTP authorization is built from three distinct layers, and it helps to think of them in order. A role template is an application-provided authorization blueprint. A role is an instance of that template, potentially carrying specific attribute values. A role collection groups one or more roles together, and it's the role collection — not the individual role or template — that actually gets assigned to users or groups.

This layering exists because different people are responsible for different parts of it: application developers define the scopes and role templates that make sense for their application, while platform or security administrators assemble those building blocks into meaningful collections, such as Viewer, Operator, or App Administrator, following least-privilege principles.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.