fix: move RBAC to //access (#1114)
This commit is contained in:
committed by
Nicolás Venturo
parent
73be06412f
commit
afe9113b18
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.24;
|
||||
|
||||
import "../ownership/Ownable.sol";
|
||||
import "../ownership/rbac/RBAC.sol";
|
||||
import "../access/rbac/RBAC.sol";
|
||||
import "../ECRecovery.sol";
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@ pragma solidity ^0.4.24;
|
||||
|
||||
|
||||
import "../ownership/Ownable.sol";
|
||||
import "../ownership/rbac/RBAC.sol";
|
||||
import "../access/rbac/RBAC.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
pragma solidity ^0.4.24;
|
||||
|
||||
import "../ownership/rbac/RBAC.sol";
|
||||
import "../access/rbac/RBAC.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -2,14 +2,14 @@ pragma solidity ^0.4.24;
|
||||
|
||||
|
||||
import "./Ownable.sol";
|
||||
import "./rbac/RBAC.sol";
|
||||
import "../access/rbac/RBAC.sol";
|
||||
|
||||
|
||||
/**
|
||||
* @title Superuser
|
||||
* @dev The Superuser contract defines a single superuser who can transfer the ownership
|
||||
* of a contract to a new address, even if he is not the owner.
|
||||
* A superuser can transfer his role to a new address.
|
||||
* @dev The Superuser contract defines a single superuser who can transfer the ownership
|
||||
* of a contract to a new address, even if he is not the owner.
|
||||
* A superuser can transfer his role to a new address.
|
||||
*/
|
||||
contract Superuser is Ownable, RBAC {
|
||||
string public constant ROLE_SUPERUSER = "superuser";
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity ^0.4.24;
|
||||
|
||||
import "./MintableToken.sol";
|
||||
import "../../ownership/rbac/RBAC.sol";
|
||||
import "../../access/rbac/RBAC.sol";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user