nexus_cqrs_auth 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/nexus_cqrs_auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26eebafb47f52358431b983d83a6f850926f2a26e650603cb25451488e8ec8d8
|
4
|
+
data.tar.gz: 18e62542c4ee5e180bda9ff8227a9193ecf026050542adf8fed02972b42b049e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2883708fb78909af81ad2f0839e82d08ae5c54a931c6f05ad3727766b7a4153e6c3958efa1e69ee0a867903423b2bfefb14bf14d3b0690afd3c64c783df35720
|
7
|
+
data.tar.gz: 894a40035cde2e7a02fa424836ef18af5b179953bbf81b262270a55f1fd048e1543cb0ab5cf6fcc0fee15dd8d183f9d18d91eb7751ab91bba260e7a316216c21
|
data/README.md
CHANGED
@@ -70,6 +70,10 @@ end
|
|
70
70
|
|
71
71
|
You can then write various policies to setup authorisation in CQRS flows.
|
72
72
|
|
73
|
+
More information about policies can be found in the [Pundit documentation](https://github.com/varvet/pundit).
|
74
|
+
|
75
|
+
Remember to create a base policy at: `app/policies/application_policy.rb`
|
76
|
+
|
73
77
|
### Bus level policy
|
74
78
|
|
75
79
|
Create a policy class in `app/policies/my_message_policy.rb`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexus_cqrs_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Harrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10
|
11
|
+
date: 2020-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nexus_cqrs
|