arkaan 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkaan/permissions/group.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6e70dbddabf869090ee32a2cbdb291bddc58a4
|
4
|
+
data.tar.gz: '09b28cdf6fbc13c3f5e58426187095ca4a926c9b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a18690f1ef9731b8bfe0e9cb500b61fb3e210c8ac9fb50e96fb482d2a4e6f4c826b195ab99668937f114f2ab56f7f60018af8f3f18f090fba4dd8534d5df915
|
7
|
+
data.tar.gz: 903147c91d3aae1119c739cbdad726853380160850099e4c4785f49d0ab3cecafac8c0bf34592552a6573c5d871ecba29d4c479785cfe4067128bae131e074eb
|
@@ -7,6 +7,10 @@ module Arkaan
|
|
7
7
|
include Mongoid::Timestamps
|
8
8
|
include Arkaan::Concerns::Sluggable
|
9
9
|
|
10
|
+
# @!attribute [rw] is_default
|
11
|
+
# @return [Boolean] a boolean indicating whether this group is given when a new user registered or not.
|
12
|
+
field :is_default, type: Boolean, default: false
|
13
|
+
|
10
14
|
# @!attribute [rw] accounts
|
11
15
|
# @return [Array<Arkaan::Account>] the accounts having the rights granted by this group.
|
12
16
|
has_and_belongs_to_many :accounts, class_name: 'Arkaan::Account', inverse_of: :groups
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arkaan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Courtois
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|