Casbin 1.8.0 is released: An authorization library that supports access control models like ACL, RBAC, ABAC in Golang

Written by
Link to Post

https://www.reddit.com/r/golang/comments/ae3inw/casbin_180_is_released_an_authorization_library/

https://github.com/casbin/casbin

Breaking News!

General

  • Support Go modules.

Adopters

  • Add VMware Harbor to our adopters.

Middlewares

Add Buffalo’s middleware.
Add Go kit’s middleware.

Adapters

  • Add GCP Datastore Adapter.

Watchers

  • Add Etcd Watcher.
    Add GCP Pub/Sub Watcher.

Management API

  • Add Safe* methods to the SyncedEnforcer.

RBAC API

  • Add GetUsersForRoleInDomain()

RBAC

  • Add RESTful support for g
    operator, see: 8cfc636

Bug Fix

  • Skip filtered policy init.
  • Cause panic for non-existent policy file in NewEnforcer()
    , fix: #163
  • Fix the bug in GetUsersForRoleInDomain()
    .
  • Do not automatically call LoadPolicy()
    for a filtered adapter.
  • Set filtered to true for File Filtered Adapter.
  • Fix the bug of importing “github.com/pkg/errors”.

submitted by /u/EquivalentAd4
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Leave a Reply