---
title: "Discussion on \"role-based vs. attribute-based authorization? (in Golang)\" | Hashnode"
description: "Discussion on \"role-based vs. attribute-based authorization? (in Golang)\". Role-based authorization\nRole-based authorization (RBAC) is a model where for defining a set of roles, such as admin, manager, or customer, and assign them to users. Each role has a predefined set of permissions, such as create, read, update, or dele..."
url: "https://hashnode.com/posts/role-based-vs-attribute-based-authorization-in-golang/650d06474c1ed972106ef37d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [role-based vs. attribute-based authorization? (in Golang)](https://redhabayuanggara.hashnode.dev/role-based-vs-attribute-based-authorization-in-golang?utm_source=hashnode&utm_medium=feed)

Role-based authorization Role-based authorization (RBAC) is a model where for defining a set of roles, such as admin, manager, or customer, and assign them to users. Each role has a predefined set of permissions, such as create, read, update, or dele...

Sep 22, 2023 · 12 min read · redhabayuanggara.hashnode.dev  
Updated Oct 10, 2023  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#rbac](https://hashnode.com/tag/rbac)
-   [#abac](https://hashnode.com/tag/abac)
-   [#rest-api](https://hashnode.com/tag/rest-api)

## Written by

[Redha Bayu Anggara](https://hashnode.com/@redhabayuanggara21)

@redhabayuanggara21 · Indonesia

  
[View profile](https://hashnode.com/@redhabayuanggara21)

Software Engineer

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
