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

This commit is contained in:
Matt Condon
2018-07-25 23:03:25 +08:00
committed by Nicolás Venturo
parent 73be06412f
commit afe9113b18
7 changed files with 8 additions and 8 deletions

View File

@ -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";

View File

@ -2,7 +2,7 @@ pragma solidity ^0.4.24;
import "../ownership/Ownable.sol";
import "../ownership/rbac/RBAC.sol";
import "../access/rbac/RBAC.sol";
/**

View File

@ -1,6 +1,6 @@
pragma solidity ^0.4.24;
import "../ownership/rbac/RBAC.sol";
import "../access/rbac/RBAC.sol";
/**

View File

@ -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";

View File

@ -1,7 +1,7 @@
pragma solidity ^0.4.24;
import "./MintableToken.sol";
import "../../ownership/rbac/RBAC.sol";
import "../../access/rbac/RBAC.sol";
/**