Skip to content

Commit

Permalink
Formal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikron-ia committed May 30, 2017
1 parent 80d1441 commit 13624c4
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ A system for role-playing game story/campaign/epic (names vary from system to sy
1. Run `composer install`
1. Ensure your `.env` file is up to date, based on `.env.example`
1. Run migrations
1. Run `./yii rbac/v*` for proper version

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mikron-ia/rpg-hub-integrated",
"description": "Integrated RPG hub - an integrated attempt",
"description": "Integrated RPG hub",
"keywords": ["yii2", "rpg"],
"type": "project",
"license": "GPL-2.0",
Expand Down
28 changes: 28 additions & 0 deletions console/controllers/RbacController.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,27 @@ public function actionSetAdministrator()
$auth->assign($administrator, 1);
}

/**
* Adds rights from v0.5.0
*/
public function actionV050()
{
}

/**
* Adds rights from v0.6.0
*/
public function actionV060()
{
}

/**
* Adds rights from v0.7.0
*/
public function actionV070()
{
}

/**
* Adds rights from v0.8.0
*/
Expand Down Expand Up @@ -292,4 +313,11 @@ public function actionV080()
$auth->addChild($operator, $controlGame);
$auth->addChild($user, $viewGame);
}

/**
* Adds rights from v0.9.0
*/
public function actionV090()
{
}
}

0 comments on commit 13624c4

Please sign in to comment.