mumukit-auth 7.9.0 → 7.10.0

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: 758bcad0d556cd4d0391f748ca59cbaac3a958553bce36c8aa3a581f72b05ba0
4
- data.tar.gz: da9e0ee240232182de44a7e646fa44a28c1b69e424c2d54764724fe36a51a1a0
3
+ metadata.gz: 517de6c84d1b25e0b31a83da4dbf8f0d5c234eb05c9c23476d2e721fa19b6049
4
+ data.tar.gz: 3e2ae789e5dff9857e63f298c126fffe69a815b63649fdf1b7346c18f583e29a
5
5
  SHA512:
6
- metadata.gz: 7501170607151d2f7fec7578a0399c3c1e983ae0a14228c547bff4bb3017e8122ac4de5c5cea175e6824835cc9b31f2ccba855b10167f553b0f83d2ac9d33891
7
- data.tar.gz: 8add5c9930a185eba952279ff3e403e69ced7323794d40085f8e0972f82a0a37d99e2d0dd1b749f2b558c79d1bc188151d77922fb26ebaf81d0c94625a93fc45
6
+ metadata.gz: c28eac074b926567be11f09700623e3fdbd9eb1379ba22c794f87f3b06fd901fb5bb9cb436e56fbbb0985a55bb708651a9632003e4ea3849cb43408d61038717
7
+ data.tar.gz: 253cc4b87c062b9e97e4ba350fbcef2922c198c396cea345675b490532d7b1528ade0d257cc872cc663cf47cd374b9338a5c3a656b62daaea298bce5c7927892
@@ -47,6 +47,9 @@ module Mumukit::Auth
47
47
  parent :admin
48
48
  end
49
49
  class Moderator < Role
50
+ parent :forum_supervisor
51
+ end
52
+ class ForumSupervisor < Role
50
53
  parent :admin
51
54
  end
52
55
  class Admin < Role
@@ -1,6 +1,6 @@
1
1
  module Mumukit::Auth
2
2
  module Roles
3
- ROLES = [:student, :teacher, :headmaster, :writer, :editor, :janitor, :moderator, :admin, :owner]
3
+ ROLES = [:student, :teacher, :headmaster, :writer, :editor, :janitor, :moderator, :forum_supervisor, :admin, :owner]
4
4
 
5
5
  ROLES.each do |role|
6
6
  define_method "#{role}?" do |scope = Mumukit::Auth::Slug.any|
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module Auth
3
- VERSION = '7.9.0'
3
+ VERSION = '7.10.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.9.0
4
+ version: 7.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-30 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.0.8
122
+ rubygems_version: 3.0.3
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Library for authorizing mumuki requests