Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amarjanica authored Mar 8, 2022
1 parent b9bbcf6 commit 87f335c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Actix Permissions [![Continuous Integration](https://github.com/eisberg-labs/actix-permissions/actions/workflows/ci.yml/badge.svg)](https://github.com/eisberg-labs/actix-permissions/actions/workflows/ci.yml) [![cargo-badge][]][cargo] [![license-badge][]][license]

Permission and input validation extension for Actix Web. Alternative to actix guard, with access to app data injections, HttpRequest and Payload.
Permissions are flexible, take a look at [Examples directory](./examples) for some use cases.
Permissions are flexible, take a look at [Examples directory](./examples) for some of the use cases.

You could write a permission check like a function or like a struct.
This code:
Expand Down Expand Up @@ -91,7 +91,7 @@ async fn main() -> std::io::Result<()> {
## Use Cases
Take a look at [Examples directory](./examples).
You could use actix-permissions for role based authorization check, like in *role-based-authorization* example.
*hello-world* example is just proof of concept, showing how you can compose a list of permissions,
*hello-world* example is just a proof of concept, showing how you can compose a list of permissions,
access service request, payload and injected services.

## Contributing
Expand Down

0 comments on commit 87f335c

Please sign in to comment.