Skip to content

Commit c2bc14b

Browse files
authored
chore: readme update
1 parent 99c2b7a commit c2bc14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ go get github.com/el-Mike/restrict
2121
## Concepts
2222
Restrict helps with building simple yet powerful access policies in declarative way. In order to do that, we introduce following concepts:
2323
* **Subject** - an entity that wants to perform some actions. Needs to implement Subject interface and provide unique role name. Subject is usually any kind of user in your application.
24-
* **Resource** - an entity that is a target of the actions. Needs to implement Resource interface and provide unique resource name. Resource can be implemented by any entity in your domain.
24+
* **Resource** - an entity that is a target of the actions. Needs to implement Resource interface and provide unique resource name. Resource can be implemented by any entity or object in your domain.
2525
* **Action** - an arbitrary operation that can be performed on given Resource.
2626
* **Context** - a map of values containing any additional data needed to validate the access rights.
2727

0 commit comments

Comments
 (0)