mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Refactor EPP users to API users
This commit is contained in:
parent
b8494993ea
commit
c91c9c8ebf
44 changed files with 154 additions and 150 deletions
|
@ -16,7 +16,7 @@ describe User do
|
|||
it { should be_able_to(:manage, ZonefileSetting.new) }
|
||||
it { should be_able_to(:manage, DomainVersion.new) }
|
||||
it { should be_able_to(:manage, User.new) }
|
||||
it { should be_able_to(:manage, EppUser.new) }
|
||||
it { should be_able_to(:manage, ApiUser.new) }
|
||||
it { should be_able_to(:manage, Keyrelay.new) }
|
||||
it { should be_able_to(:manage, LegalDocument.new) }
|
||||
it { should be_able_to(:read, ApiLog::EppLog.new) }
|
||||
|
@ -36,7 +36,7 @@ describe User do
|
|||
it { should_not be_able_to(:manage, ZonefileSetting.new) }
|
||||
it { should_not be_able_to(:manage, DomainVersion.new) }
|
||||
it { should_not be_able_to(:manage, User.new) }
|
||||
it { should_not be_able_to(:manage, EppUser.new) }
|
||||
it { should_not be_able_to(:manage, ApiUser.new) }
|
||||
it { should_not be_able_to(:manage, LegalDocument.new) }
|
||||
it { should_not be_able_to(:read, ApiLog::EppLog.new) }
|
||||
it { should_not be_able_to(:read, ApiLog::ReppLog.new) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue