Commit afe9113b by Matt Condon Committed by Nicolás Venturo

fix: move RBAC to //access (#1114)

parent 73be0641
pragma solidity ^0.4.24; pragma solidity ^0.4.24;
import "../ownership/Ownable.sol"; import "../ownership/Ownable.sol";
import "../ownership/rbac/RBAC.sol"; import "../access/rbac/RBAC.sol";
import "../ECRecovery.sol"; import "../ECRecovery.sol";
......
...@@ -2,7 +2,7 @@ pragma solidity ^0.4.24; ...@@ -2,7 +2,7 @@ pragma solidity ^0.4.24;
import "../ownership/Ownable.sol"; import "../ownership/Ownable.sol";
import "../ownership/rbac/RBAC.sol"; import "../access/rbac/RBAC.sol";
/** /**
......
pragma solidity ^0.4.24; pragma solidity ^0.4.24;
import "../ownership/rbac/RBAC.sol"; import "../access/rbac/RBAC.sol";
/** /**
......
...@@ -2,14 +2,14 @@ pragma solidity ^0.4.24; ...@@ -2,14 +2,14 @@ pragma solidity ^0.4.24;
import "./Ownable.sol"; import "./Ownable.sol";
import "./rbac/RBAC.sol"; import "../access/rbac/RBAC.sol";
/** /**
* @title Superuser * @title Superuser
* @dev The Superuser contract defines a single superuser who can transfer the ownership * @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. * of a contract to a new address, even if he is not the owner.
* A superuser can transfer his role to a new address. * A superuser can transfer his role to a new address.
*/ */
contract Superuser is Ownable, RBAC { contract Superuser is Ownable, RBAC {
string public constant ROLE_SUPERUSER = "superuser"; string public constant ROLE_SUPERUSER = "superuser";
......
pragma solidity ^0.4.24; pragma solidity ^0.4.24;
import "./MintableToken.sol"; import "./MintableToken.sol";
import "../../ownership/rbac/RBAC.sol"; import "../../access/rbac/RBAC.sol";
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment