53 Commits

Author SHA1 Message Date
9bcc8c8e83 update links (en) (#19222)
Co-authored-by: Bizley <pawel@positive.codes>
2022-02-12 17:43:48 +01:00
baa3a0ed8a update NIST RBAC model link (#18973) 2021-10-24 10:15:07 +02:00
c3eeb952b9 [docs] typofixes (#18920) 2021-10-01 23:24:51 +03:00
f7e29678a7 Update security-authorization.md (#18667)
change deprecated function to actual
2021-05-20 22:26:41 +03:00
1d514e2ded Revert "Fix anchors in docs (#18344)"
This reverts commit 0f4b147352f2524f2a1530d419d13a8c8acd5069.
2020-11-05 14:14:35 +03:00
0f4b147352 Fix anchors in docs (#18344) 2020-11-01 17:51:16 +03:00
be2de34f73 modification to #using-default-roles section (#16177)
* modification to #using-default-roles section

It wasn't clear where put the "authmanager" initialization code.
I specify that the user need to create his command or migration script in a separate files

* Update security-authorization.md
2018-04-27 10:37:25 +02:00
88fc42329f Update security-authorization.md (#16082) [skip ci] 2018-04-13 00:37:26 +03:00
a38302fdfd improved filtering condition on yii\db\ActiveRecord 2018-03-20 11:42:28 +01:00
b59f03f12b Add missing r in "rather". (#15394) [skip ci] 2017-12-20 13:03:07 +03:00
edc8ec120d Adds dbmanager cache into an examle (#15337) [skip ci]
* Adds dbmanager cache into an examle

When I used the RBAC first time, I didn't know about the dbmanager caching. I was relaying on the examples only. Then I saw many queries in my logs and started searching to eventually find the cache property.
I think there isn't a situation, when someone doesn't use caching for dbmanager rbac, so i'ts very helpful to put it in the example above.
Hope I'm correct.
2017-12-13 11:30:03 +03:00
b00c82c2a2 Adjusted RBAC docs to offer both migrations and command approaches [skip ci] 2017-06-11 17:18:50 +03:00
a1f396c5d8 improved docs 2017-05-31 17:46:34 +02:00
339972fb34 simplified guide example 2017-05-31 17:46:34 +02:00
18bb002c99 Document queryParams in the authorization guide 2017-05-31 17:46:34 +02:00
a1581329cf Fixes #13183: Docs for working with separated migrations (#13201) 2016-12-14 13:19:43 +03:00
496310e7e3 fixed typo in security guide about namespace
backslash vs. slash
fixes #13132
2016-12-04 02:50:22 +01:00
c5a88ae0b5 Update security-authorization.md
fix namespace to fix #13125
2016-12-03 10:31:29 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
685f16e8ef 📖 Updated guide pages - wrap true, false, null 2016-09-20 10:49:15 +03:00
96c490b963 📖 Use the article 'an' instead of 'a' [skipe ci] 2016-08-25 08:14:52 +03:00
b3ff32f507 Add instructions for adding authorization to your controllers #11777 (#11791) [skip ci]
* Add instructions for adding authorization to your controllers

* Fixed typos
2016-06-21 23:07:42 +03:00
80da506460 Fixes #11330: Added note about RbacController namespace 2016-04-14 12:10:22 +03:00
7667aa1ce2 Added note about app specific configs to RBAC docs 2016-03-05 18:08:57 +03:00
776f029845 Clarified that IDs in AccessRule::$controllers should be prefixed with module ID 2015-09-10 15:03:20 +03:00
9891b802fd guide touch [skip ci] 2015-05-11 22:42:15 -04:00
f11bdfa2a7 Grammar fix: followings -> following 2015-04-21 15:08:16 +02:00
87a824515f Renamed application template into project template in docs 2015-04-02 14:46:34 +03:00
87c6eec52e Describe both configuration options for authManager
only the phpManager configuration was described, the DbManager configuration was not found on this documentation

close #6771
2015-01-10 19:53:27 +01:00
c56ada5553 docs/guide/security-authorization.md - fix [ci skip] 2014-12-22 21:14:47 +09:00
87b10f2c23 Fixes #6564: removed mentioning of creating files manually in case of using PhpManager 2014-12-18 21:04:01 +03:00
84d416d1e4 Deleted double tip [skip ci] 2014-12-09 10:34:44 +01:00
48f25347c5 Clarified on how to execute RbacController::actionInit() 2014-11-05 02:35:36 +03:00
ed3084c807 Added $auth = Yii::$app->authManager; to authorization guide to show where $auth is coming from 2014-10-19 00:16:59 +04:00
3c153c20d8 Update security-authorization.md 2014-10-12 02:44:50 +03:00
6624ad3dc6 Update authorization guide
and Remove TBD from readme.md where it is no longer needed

close #5430
2014-10-08 18:16:59 +02:00
dfd68954a5 finished guide on formatting 2014-10-06 20:48:44 +02:00
2c02765229 Fixing wrong docs in RBAC PHPManager and wrong paths in security-authorization.md
close #5348
2014-10-04 12:22:34 +02:00
1e344dd99c Fix typo in security-authorization.md 2014-09-04 11:28:00 +02:00
41f31bcd36 [skip ci] Fixes #4548 2014-08-01 00:37:01 +04:00
42c464cf3e Update a tip and an example
- add a tip that rbac.php is needed to create manually when using PhpManager.
- update that RbacController example needs to import Yii namespace.
2014-06-20 15:58:45 +07:00
cf884b2676 Unnecessary line (left after b39effda2e) 2014-06-03 19:49:48 +03:00
d6f74f4b2b Update security-authorization.md
Typo
2014-05-21 11:08:40 -04:00
279450d804 Update security-authorization.md
typo
2014-05-21 10:49:42 -04:00
38a872ec2d Fixed wrong links 2014-05-06 16:39:10 +02:00
ef71a97e57 renamed chapter to section [skip ci] 2014-05-05 15:11:50 -04:00
2098c6243f Сheck if user is authenticated in RBAC UserGroupRule. 2014-05-02 11:11:36 +03:00
6bad24365b Fixed arguments order in RBAC guide 2014-04-30 14:09:58 +04:00
bb145f5067 Fixes #3179: removed duplicate validation rules from User model in advanced app, removed User::create() 2014-04-30 02:16:28 +04:00
f34fa1ed8a Merge branch 'master' of git://github.com/yiisoft/yii2 2014-04-29 13:18:57 -04:00