current_scope 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +20 -14
- data/lib/current_scope/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29e366bbf804a47aa6df3b75e2ac41b199e4bb065051077d20fcff021e91ff00
|
|
4
|
+
data.tar.gz: fec4ad15ab164a35b5d49e359f45f2890d921aabddc0dc5c2c70a334f91c8405
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d29339cfcf75cb4224b807f94207b5579d879214064171c2338902e4ed9733dde3dd847537cab0abcb557985bdd849532df4ca73d37e087654cd0e33fb1dcb1
|
|
7
|
+
data.tar.gz: 2dc30a104b5d7d004ae2cf7a7c0ee2e29d980097f6c90954705cf877809cba91bbebd5b6d7e603a50417fe81debfc8d9e06f9e429847a0ad61fe014d53aeaf69
|
data/README.md
CHANGED
|
@@ -4,24 +4,30 @@
|
|
|
4
4
|
[](https://github.com/davidteren/current_scope/actions/workflows/ci.yml)
|
|
5
5
|
[](MIT-LICENSE)
|
|
6
6
|
[](https://davidteren.github.io/current_scope/)
|
|
7
|
-
[](https://github.com/davidteren/current_scope/issues/116)
|
|
8
8
|
|
|
9
|
-
> ##
|
|
9
|
+
> ## 🧪 Beta — usable, and we want your feedback
|
|
10
10
|
>
|
|
11
|
-
>
|
|
12
|
-
>
|
|
13
|
-
>
|
|
11
|
+
> The core is built and security-hardened: permissions derived from your routes,
|
|
12
|
+
> roles as editable data, per-record scoped grants, a separation-of-duties veto,
|
|
13
|
+
> impersonation, an append-only audit ledger, and a report-only rollout mode. The
|
|
14
|
+
> one published security defect in grant-id storage
|
|
15
|
+
> ([#151](https://github.com/davidteren/current_scope/issues/151)) is fixed and
|
|
16
|
+
> released in 0.5.0; the affected older versions are yanked.
|
|
14
17
|
>
|
|
15
|
-
>
|
|
16
|
-
>
|
|
17
|
-
>
|
|
18
|
-
>
|
|
19
|
-
>
|
|
20
|
-
>
|
|
21
|
-
>
|
|
18
|
+
> It is **not yet certified for production**, for one honest reason: the last gate
|
|
19
|
+
> to general availability is a real-world bake — one real app running
|
|
20
|
+
> `config.enforcement = :report`, reading `bin/rails current_scope:report`, then
|
|
21
|
+
> flipping to `:enforce`. Until a real host has run it enforced, "production-ready"
|
|
22
|
+
> is a claim with nothing behind it. That gate is tracked in
|
|
23
|
+
> [#116](https://github.com/davidteren/current_scope/issues/116); **1.0 is when it
|
|
24
|
+
> closes.**
|
|
22
25
|
>
|
|
23
|
-
>
|
|
24
|
-
>
|
|
26
|
+
> So please adopt it, run it in `:report` mode, and tell us what breaks — that
|
|
27
|
+
> feedback is exactly what gets it to 1.0. It is an **authorization** library, so
|
|
28
|
+
> mind the bar: a bug here is a user seeing or doing something they shouldn't.
|
|
29
|
+
> Anything you find goes on the
|
|
30
|
+
> [issue tracker](https://github.com/davidteren/current_scope/issues).
|
|
25
31
|
|
|
26
32
|
**Website:** [davidteren.github.io/current_scope](https://davidteren.github.io/current_scope/) —
|
|
27
33
|
overview, quickstart, the
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: current_scope
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Teren
|
|
@@ -32,9 +32,9 @@ dependencies:
|
|
|
32
32
|
description: 'A mountable Rails engine for authorization: permissions auto-derived
|
|
33
33
|
from controller actions, roles as editable data, per-record scoped roles, a separation-of-duties
|
|
34
34
|
veto, and an ambient authorization context that makes allowed_to? work identically
|
|
35
|
-
in controllers, views, and components.
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
in controllers, views, and components. BETA (pre-1.0): the core is built and security-hardened;
|
|
36
|
+
general availability is gated on one real-world enforce bake. Adopt it, run report
|
|
37
|
+
mode, and send feedback. See the README and the issue tracker (#116).'
|
|
38
38
|
email:
|
|
39
39
|
- dteren@gmail.com
|
|
40
40
|
executables: []
|