Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
afe9113b
Commit
afe9113b
authored
Jul 25, 2018
by
Matt Condon
Committed by
Nicolás Venturo
Jul 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: move RBAC to //access (#1114)
parent
73be0641
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
SignatureBouncer.sol
contracts/access/SignatureBouncer.sol
+1
-1
Whitelist.sol
contracts/access/Whitelist.sol
+1
-1
RBAC.sol
contracts/access/rbac/RBAC.sol
+0
-0
Roles.sol
contracts/access/rbac/Roles.sol
+0
-0
RBACWithAdmin.sol
contracts/examples/RBACWithAdmin.sol
+1
-1
Superuser.sol
contracts/ownership/Superuser.sol
+4
-4
RBACMintableToken.sol
contracts/token/ERC20/RBACMintableToken.sol
+1
-1
No files found.
contracts/access/SignatureBouncer.sol
View file @
afe9113b
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";
...
...
contracts/access/Whitelist.sol
View file @
afe9113b
...
@@ -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";
/**
/**
...
...
contracts/
ownership
/rbac/RBAC.sol
→
contracts/
access
/rbac/RBAC.sol
View file @
afe9113b
File moved
contracts/
ownership
/rbac/Roles.sol
→
contracts/
access
/rbac/Roles.sol
View file @
afe9113b
File moved
contracts/examples/RBACWithAdmin.sol
View file @
afe9113b
pragma solidity ^0.4.24;
pragma solidity ^0.4.24;
import "../
ownership
/rbac/RBAC.sol";
import "../
access
/rbac/RBAC.sol";
/**
/**
...
...
contracts/ownership/Superuser.sol
View file @
afe9113b
...
@@ -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";
...
...
contracts/token/ERC20/RBACMintableToken.sol
View file @
afe9113b
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";
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment