From 104851e9a5a898abfe28a9ad5177024c066ed448 Mon Sep 17 00:00:00 2001 From: Wayne Witzel III Date: Fri, 12 Feb 2016 10:18:12 -0500 Subject: [PATCH] Update rbac.md Remove resource_field --- docs/rbac.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/rbac.md b/docs/rbac.md index b14135ab84..b34b86a304 100644 --- a/docs/rbac.md +++ b/docs/rbac.md @@ -132,7 +132,6 @@ After exploring the _Overview_ the usage of the RBAC implementation in your code # declare your new role readonly_role = ImplicitRoleField( role_name="readonly", - resource_field="resource", permissions={'read':True}, ) ``` @@ -151,5 +150,3 @@ Now that your model is a `Resource` and has a `Role` defined, you can begin to a >>> document.accessible_by(user, {'read':True, 'write':True}) False # my role does not have write permission ``` - -