Two Levels of Security
To build secure, well-governed systems in Luklak, it’s crucial to understand the two distinct and complementary layers of security: Item Access Control and Permission Schemes.
- Item Access controls access to the container (the workspace, the dashboard, the blueprint).
- A Permission Scheme controls actions inside the container.
The Analogy: The Building and the Safe
The easiest way to understand the difference is with an analogy of a secure building.Item Access Control is the Key to the Building
This is the first layer of security. It determines if you are allowed to enter a specific “building” (like a⏹️ Space
or a Dashboard
). If you don’t have Item Access, you can’t even see that the building exists or open its door.
It answers the question: “Can I get in the door?”
Permission Scheme is the Clearance for the Safe
Once you are inside the building, the Permission Scheme determines what you are allowed to do inside. It’s your security clearance level for the contents of the building (the🧊 Objects
).
Are you allowed to view the documents on the table (
View Objects
)? Can you create new documents (Create Objects
)? Or do you have the high-level clearance needed to open the safe (Delete Objects
) or approve a document (Transition Status
)?Side-by-Side Comparison
Feature | Item Access Control | Permission Scheme |
---|---|---|
What it Controls | Containers (the tools) | Actions on 🧊 Objects (the data inside the tools) |
Examples of “Items” | ⏹️ Spaces , 📋 Functions , Dashboards , Saved Filters | View , Create , Edit , Delete , Transition Status for 🧊 Objects |
Where it’s Configured | On the Item itself (e.g., in the Space settings) | Inside a 📋 Function (as a reusable blueprint) |
Who it’s Assigned To | Directly to Users or Groups . | To Roles (e.g., Manager , Member ). Users are then assigned to Roles . |
The Question it Answers | ”Can I access this Space ?" | "What can I do inside this Space ?” |
How They Work Together: A Practical Example
- Granting Item Access: An administrator gives the “Sales Team”
Group
Member access to the “Q4 Sales Pipeline”⏹️ Space
. Now, all users in that group, including Jane and John, can see and enter thisSpace
. - Assigning Roles: The
Permission Scheme
for thisSpace
(designed in itsFunction
) has twoRoles
:Manager
andMember
.- Jane, a senior salesperson, is assigned the
Manager Role
. - John, a junior salesperson, is assigned the
Member Role
.
- Jane, a senior salesperson, is assigned the
- The Result: Even though both Jane and John can enter the
Space
(thanks to Item Access), their abilities inside are different. ThePermission Scheme
might allow Jane (Manager
Role) toDelete
objects within the function, like🧊 Deals
, while John (Member
Role) can onlyCreate
andEdit
them.