github apache/casbin v1.8.0
Casbin 1.8.0

latest releases: v3.10.0, v3.9.0, v3.8.2...
7 years ago

New Features

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".

Don't miss a new casbin release

NewReleases is sending notifications on new releases.