uffizzi_core 2.0.13 → 2.0.14
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f418bff9703cbe59f1ee9a69e52f14aa1ad2824a4118ad4b6d97c703347243
|
4
|
+
data.tar.gz: e9d6492698a43db8833b1175c10b95054d2b2c4230ade5aeee0d7ca49640ba1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 981763aac83a419775db0130ac7b984e896fc36a11170c69c9f28d2045e5fd4024f74c3fafc538fa88a955b964377976845a0793b8e373e409ab6e3acc7e0bbd
|
7
|
+
data.tar.gz: 16a2fe83f500ab8e56ce259a978ea6a6318d1de83027edb71f06205156eb8d98fb24b27ab758262b06c2fb7696199e4c40a91da87b71405df94ad37a469430cf
|
@@ -16,8 +16,6 @@ module UffizziCore::Concerns::Models::Account
|
|
16
16
|
validates :kind, presence: true
|
17
17
|
validates :domain, uniqueness: true, if: :domain
|
18
18
|
|
19
|
-
belongs_to :owner, class_name: UffizziCore::User.name, foreign_key: :owner_id
|
20
|
-
|
21
19
|
has_many :memberships, dependent: :destroy
|
22
20
|
has_many :users, through: :memberships
|
23
21
|
has_many :credentials, dependent: :destroy
|
@@ -6,7 +6,7 @@ class UffizziCore::UserAccessService
|
|
6
6
|
delegate :admin_access_to_account?, :developer_access_to_account?, :viewer_access_to_account?,
|
7
7
|
:admin_or_developer_access_to_account?, :any_access_to_account?, :admin_access_to_project?,
|
8
8
|
:developer_access_to_project?, :viewer_access_to_project?, :admin_or_developer_access_to_project?,
|
9
|
-
:any_access_to_project?, :global_admin?, to: :@user_access_module
|
9
|
+
:any_access_to_project?, :global_admin?, :valid_token?, to: :@user_access_module
|
10
10
|
|
11
11
|
def initialize(user_access_module)
|
12
12
|
@user_access_module = user_access_module
|
data/lib/uffizzi_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uffizzi_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Thurman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|