Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/yiisoft/rbac

Role based access control
https://github.com/yiisoft/rbac

Allow checking for user's roles in ManagerInterface::userHasPermission() (#254)

* Allow checking for user's roles in ManagerInterface::userHasPermission()

* Apply fixes from...

63e912e39daaf8d1bf50f3bb7d8ce0ab0fcf4243 authored 10 months ago by Alexey Rogachev <[email protected]>
Adjust for using with Yii Config (#256)

28c9f1e60a7af6d529f02c9ea1b53aeabd745c53 authored 10 months ago by Alexey Rogachev <[email protected]>
Actualize badges (#255)

fc11eab61c0965020fe5b37a6bd69e0665896df2 authored 10 months ago by Alexey Rogachev <[email protected]>
Add `SimpleRuleFactory` (#249)

* Add `SimpleRuleFactory`

* WIP

* Apply fixes from StyleCI

* Fix failed workflows

* ...

2204ce4db2c950fa93e8b316ce58d5c064d28295 authored 10 months ago by Alexey Rogachev <[email protected]>
Return `$this` instead of throwing "already assigned" exception in `Manager::assign()` (#253)

98cf8d71f9c46cb38e6752406bacc648fc5a939c authored 10 months ago by Alexey Rogachev <[email protected]>
Rename access tree and improve coverage for db implementations (#247)

* Rename access tree and improve coverage for db implementations

* Update pr template [skip c...

d99efdab6f374515914cc369d3cb92c70cc73aa6 authored 10 months ago by Alexey Rogachev <[email protected]>
Update rector/rector requirement from ^0.19.0 to ^1.0.0 (#240)

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the l...

a9a67125508b29f67ad502f1fe9cd7bd7fcd5d6e authored 10 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Minor fixes (#244)

* Minor fixes

* Apply fixes from StyleCI

* Add more tests to raise coverage in related pac...

e849ca1e3df97bedbaffd9d72486e62585898495 authored 10 months ago by Alexander Makarov <[email protected]>
Add test for removing non existing asslgnment (#246)

ab195dad672a83619f71de10f1a2e5a9c5f83828 authored 10 months ago by Alexey Rogachev <[email protected]>
Add more tests to raise coverage in related packages (#245)

* Add more tests to raise coverage in related packages

* Update CHANGELOG [skip ci]

cfbccf28e83868e769d6ee6352fdabb1da210593 authored 10 months ago by Alexey Rogachev <[email protected]>
update irc link (#243)

238f8286b7a70dc43e837ad17b9a2686618d7847 authored 11 months ago by Ihor Sychevskyi <[email protected]>
Add tests for access tree (#241)

* Add tests for access tree

* Apply Rector changes (CI)

* Fix Psalm

* Add test for role...

c7fb807b47db2c0e25b61071dca8937d00caafef authored 11 months ago by Alexey Rogachev <[email protected]>
Concurrency in assignments storage (#238)

18308ab789c771ec3b53bab4c76b2a666bbeb5ec authored 11 months ago by Alexey Rogachev <[email protected]>
Concurrency in items storage tests, handle not found base item in access tree (#237)

* Concurrency in items storage tests, handle not found base item in access tree

* Update CHAN...

175ae166138f8f05bde32b7d285028252c3c0f3a authored 11 months ago by Alexey Rogachev <[email protected]>
Fix Psalm (#236)

d29f2c72b1de9553e419ff4baff62a944c1c15a2 authored 11 months ago by Alexey Rogachev <[email protected]>
Fix Psalm (#235)

538131771494e8c0ce51c9d9279863e4559584e5 authored 11 months ago by Alexey Rogachev <[email protected]>
Improve Psalm (#234)

* Improve Psalm

* Fix

* Fix 2

d875facba28bd3e3c91a134f69d51368f761b20c authored 11 months ago by Alexey Rogachev <[email protected]>
Add test for adding item with past timestamps (#233)

* Add test for adding item with past timestamps

* Apply Rector changes (CI)

---------

C...

53718a7823b85f3d6e8d2cacda84a82f5c893d71 authored 11 months ago by Alexey Rogachev <[email protected]>
Revert changes with final method (#232)

966ec246975d18f69087bca37e7105c4c9cd71e2 authored 11 months ago by Alexey Rogachev <[email protected]>
Disable final fixer for StyleCI, add RawAssignment Psalm type (#231)

8efd0bd1152cc5809c4afd58be51dd29fc93c0aa authored 11 months ago by Alexey Rogachev <[email protected]>
Add `Assignment::getAttributes()` method (#230)

* Add `Assignment::getAttributes()` method

* Apply fixes from StyleCI

* Update CHANGELOG [...

d4a45147bbdf387dc26ca5072114968709589ca9 authored 11 months ago by Alexey Rogachev <[email protected]>
Simplify recreation of storages (#229)

28b610de21b4f7189865f517c498f5c88ff37630 authored 11 months ago by Alexey Rogachev <[email protected]>
Add option to recreate storages in tests (#228)

a20147a9a7939007be6cfb36a25059e2a0649010 authored 11 months ago by Alexey Rogachev <[email protected]>
Use snake case for item attribute names (ease migration from Yii 2) (#227)

* Use snake case for item attribute names (ease migration from Yii 2)

* Update CHANGELOG [ski...

b8cb68318e846d13f2cf8b9fd72edcbc7ac74aef authored 12 months ago by Alexey Rogachev <[email protected]>
Use manager for adding items in tests (#226)

cba39d8471677970282fdad302271c858f5c7912 authored 12 months ago by Alexey Rogachev <[email protected]>
Update rector/rector requirement from ^0.18.1 to ^0.19.0 (#225)

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the l...

8d95ead555c7280d346d093dc01ba6f3229d4a81 authored 12 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Handle empty assignments in `Manager::getPermissionsByUserId()` (#223)

* Revert "Revert "Handle empty assignments `Manager::getPermissionsByUserId()`""

This reverts...

5f1ff9752ee6b363472a83a656bedb3b2bd0ab9b authored about 1 year ago by Alexey Rogachev <[email protected]>
Revert "Handle empty assignments `Manager::getPermissionsByUserId()`"

This reverts commit 65049a1ca27cd874d6702173dc3f148f52db11e7.

92bde66a0023ae7a970e58f1261f3c51d13cde81 authored about 1 year ago by Alexey Rogachev <[email protected]>
Handle empty assignments `Manager::getPermissionsByUserId()`

65049a1ca27cd874d6702173dc3f148f52db11e7 authored about 1 year ago by Alexey Rogachev <[email protected]>
Adjust hierarchy when removing item (#222)

* Adjust hierarchy when removing item

* Update CHANGELOG [skip ci]

9d1f894d01cf58b82e7c8ec7d7c32c55fee8859e authored about 1 year ago by Alexey Rogachev <[email protected]>
Revert "Rename + update CHANGELOG [skip ci]"

This reverts commit d2eda4291f59ec67cf825956bdff1908b5cbe73b.

1cf5f37833b58e7464320f0f14f2a322d810ce56 authored about 1 year ago by Alexey Rogachev <[email protected]>
Rename + update CHANGELOG [skip ci]

d2eda4291f59ec67cf825956bdff1908b5cbe73b authored about 1 year ago by Alexey Rogachev <[email protected]>
Exclude items with start names when getting children (#221)

* Exclude initial items when getting children

* Rename

* Fix new mutant

* Fix tests

...

934370c5b3bb17b76f0a1d1e318b783babb28346 authored about 1 year ago by Alexey Rogachev <[email protected]>
Fixes after integrating simple items storage (#220)

17f569a646d9f0ba75c5934fb02e78169caa8cfb authored about 1 year ago by Alexey Rogachev <[email protected]>
Make SimpleAssignmentsStorage::$assignments protected (#219)

a5fe59e8bf96e21aeb227926624fde4742a61474 authored about 1 year ago by Alexey Rogachev <[email protected]>
Improve custom autoload (#218)

32f1645703c5c816009e5104622a56cd2d496380 authored about 1 year ago by Alexey Rogachev <[email protected]>
Bump PHP version to 8.1 and PHPUnit version to 10.5.2 (#217)

* Bump PHP version to 8.1 and PHPUnit version to 10.5.2

* Fix PHPUnit, use new config for it
...

728f23a488cf96a1764d5f9699f77637605ada37 authored about 1 year ago by Alexey Rogachev <[email protected]>
Update CHANGELOG [skip ci] (#216)

7bf999f9d722dc931addb952d416f8a961f07c28 authored about 1 year ago by Alexey Rogachev <[email protected]>
Add simple storages (#215)

* Add simple items storage

* Fix Psalm

* Add simple assignments storage

* Fix mutants
...

865022d19d38af64aac8031f99b5f50b3cc257f2 authored about 1 year ago by Alexey Rogachev <[email protected]>
Change non-empty-string to string in Psalm type for AccessTree (#212)

4b12d79772251a8b2cc9af5b8a7a496ed14d8b93 authored about 1 year ago by Alexey Rogachev <[email protected]>
Improve filtering of items (#211)

2d19bbb6ee2617308ffea43a8446cc10ccd513b2 authored about 1 year ago by Alexey Rogachev <[email protected]>
Minor fixes and improve types (#210)

3eeb3d43acdd8a752f83f47fe4001435bd71be01 authored about 1 year ago by Alexey Rogachev <[email protected]>
Optimize calls for getting child items within the loops (#209)

* Optimize calls for getting child items within the loops

* Apply fixes from StyleCI

* Upd...

713fdbf2574d8ccde062255efe077d5542293554 authored about 1 year ago by Alexey Rogachev <[email protected]>
Add example of self-contained rule factory to docs (#207)

674b23b5050db0aabbcd48376967a75aa7db7152 authored about 1 year ago by Alexey Rogachev <[email protected]>
Fix `Manager::userHasPermission()`, various fixes and improvements (#203)

* Do not use storages directly

* Update CHANGELOG [skip ci]

* Fix Manager::userHasPermissi...

a4f96ac2bb77003d9c04cfb424b05a5138ec5041 authored about 1 year ago by Alexey Rogachev <[email protected]>
Do not use storages directly (#202)

* Do not use storages directly

* Update CHANGELOG [skip ci]

c8d3a09639b9a4f0d264ca116047e8ee040e8bce authored about 1 year ago by Alexey Rogachev <[email protected]>
Use rule factory in `CompositeRule` (#177)

* Actualize README and PHPDoc

* Wording [skip ci]

* Use rule factory in CompositeRule

*...

6dee3cc8e9f3740703d52579ac8c682a646ade49 authored about 1 year ago by Alexey Rogachev <[email protected]>
Execute rule when checking permissions for guests (#185)

* WIP

* Fix unit tests

* Fix Psalm

* Fix rector

* Rename method [skip ci]

* Fix l...

81130698f28984aefc74d91fbe9aa09a4b057ab1 authored about 1 year ago by Alexey Rogachev <[email protected]>
Use more specific type hints (#200)

* Use more specific type hints

* Sync FakeItemsStorage, fix unit tests

8b1ef5db4de2b4ccbdaea6f13265d8a86341a7a9 authored about 1 year ago by Alexey Rogachev <[email protected]>
Refactor FakeItemsStorage::hasChild() (sync with rbac-php) (#199)

8d8d2229befc44601d76b82331e4646a3f931bb5 authored about 1 year ago by Alexey Rogachev <[email protected]>
Change ItemsIndexedByName psalm type again (#198)

96aa38d1c3ee16a11b1e39f2f9e632d49db4c4bf authored about 1 year ago by Alexey Rogachev <[email protected]>
Fix changelog, psalm type and add not null check (#196)

aa7acbe08e63f8c0e98322db5b1368177e96a0e7 authored about 1 year ago by Alexey Rogachev <[email protected]>
Add test for data persistency (#188)

* WIP

* Fix unit tests

* Fix Psalm

* Fix rector

* Rename method [skip ci]

* Fix l...

5c24a71841b1ba145fc5450fbc88779a8bd9500e authored about 1 year ago by Alexey Rogachev <[email protected]>
Revert ItemsIndexedByName psalm type (#194)

04edfdebac551423ff3398f9aec6b1d8b816c584 authored over 1 year ago by Alexey Rogachev <[email protected]>
Improve perfomance (#170)

* WIP

* Fix unit tests

* Fix Psalm

* Fix rector

* Rename method [skip ci]

* Fix l...

5a62e632a354629d3bde48869c9f657073a386ba authored over 1 year ago by Alexey Rogachev <[email protected]>
Actualize README and PHPDoc (#174)

4e46f990b4ff92f1ee93ba59054ad1139a9aaa6e authored over 1 year ago by Alexey Rogachev <[email protected]>
Update slope-it/clock-mock requirement from ^0.3.8 to ^0.4.0 (#169)

Updates the requirements on [slope-it/clock-mock](https://github.com/slope-it/clock-mock) to per...

f9ca4b49999c521b92640d1c06766745ae06ace7 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update rector/rector requirement from ^0.17.0 to ^0.18.1 (#171)

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the l...

9657dc3e97d33c49b78e0f1e4738ffcdcd2bdccf authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix README (#173)

3511384331939033fcb028f5932b1d1df6a76f36 authored over 1 year ago by Alexey Rogachev <[email protected]>
Move common Psalm types (#167)

* Move common Psalm types

* Use added types in return

* Removed RawItem and RawAssignment ...

4dbd4ad9642537c972c7f1789cc035e790fe6437 authored over 1 year ago by Alexey Rogachev <[email protected]>
Decouple storages (#161)

* Decouple storages

* Reorder methods, remove parent call

* Reorder methods 2

* Move cr...

a58e56c86dba38e845ffad408445b64ae976d3d3 authored over 1 year ago by Alexey Rogachev <[email protected]>
Update README.md: Remove obsolete mark of Yii DB (#159)

ce83aa8038d1897f3dc71669e8999fd765588383 authored over 1 year ago by Rustam Mamadaminov <[email protected]>
Prepare for next release

df13526983388fd467d669bc87021dbb824ec600 authored over 1 year ago by Alexey Rogachev <[email protected]>
Release version 1.0.2

1744ddebd141f3fb1aaa3441ef7c4f2a36ca1cf3 authored over 1 year ago by Alexey Rogachev <[email protected]>
Update CHANGELOG.md (#157)

* Remove tests from .gitattributes

* Update CHANGELOG.md

58a9d4bda4df7bf899b8884cd75001f24d130f30 authored over 1 year ago by Alexey Rogachev <[email protected]>
Remove tests from .gitattributes (#156)

ff7cf81937ae60666ab59fdb90be3c1a346ece94 authored over 1 year ago by Alexey Rogachev <[email protected]>
Prepare for next release

bcefde698a05d8461e1077a95a072f21779146b0 authored over 1 year ago by Alexey Rogachev <[email protected]>
Release version 1.0.1

b607e852f85320ebe6f0b1c673100274b56163a2 authored over 1 year ago by Alexey Rogachev <[email protected]>
Actualize and enable BC workflow (#155)

8ce9a224a714c5a1e8263efea5c158654b1bc5ee authored over 1 year ago by Alexey Rogachev <[email protected]>
Update CHANGELOG.md (#154)

a8c04aff4dd05e28a4ba527a11ab6fdcc3316856 authored over 1 year ago by Alexey Rogachev <[email protected]>
Extract common tests (#147)

* Extract common db tests

* Add trait for items storage

* Apply fixes from StyleCI

* Fi...

5f374510f7eb8762a2ce7ada78ae2d3548aa8c60 authored over 1 year ago by Alexey Rogachev <[email protected]>
Revert "[Batch] Add composer-require-checker CI (#138)" (#150)

This reverts commit d8b9e1231ab6c904b33f9cfa15348e09b84e2b4f.

b84d75b3be9d35f04759ab836da32c3482d8e6dd authored over 1 year ago by Alexey Rogachev <[email protected]>
[Batch] Add composer-require-checker CI (#138)

* Add composer-require-checker [batch]

* Add composer-require-checker dependency [batch]

*...

d8b9e1231ab6c904b33f9cfa15348e09b84e2b4f authored over 1 year ago by Dmitriy Derepko <[email protected]>
Update StyleCI config (#146)

d0f6063009b5ee0ccdaf386c003522a03dde1077 authored over 1 year ago by Sergei Predvoditelev <[email protected]>
Update contributor code of conduct (#144)

7fcfec40ec749f98a17f02ef4411334166410555 authored almost 2 years ago by Sergei Predvoditelev <[email protected]>
Update README.md (#145)

501fb673acef9c6ba568e6618a99e397b43a3dd0 authored almost 2 years ago by Sergei Predvoditelev <[email protected]>
Update vimeo/psalm requirement from ^4.22 to ^5.3 (#142)

* Update vimeo/psalm requirement from ^4.22 to ^5.3

Updates the requirements on [vimeo/psalm]...

b0bc41d6546fd1789a17c97bb12e074c6511e9e8 authored about 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix #121: Use friendly exception on get non exist default roles

917ef632a2cb7daa7267df1244188198c5f621ac authored over 2 years ago by Dmitriy Goriaev <[email protected]>
Fix typo (#136)

41707e80f605072d90e085bd94c8686d770aa67b authored over 2 years ago by Razon Yang <[email protected]>
Separate chain calls (#133)

2228d371b3b9dc58b2b10b901a260d8039d58765 authored over 2 years ago by Sanka <[email protected]>
Use reusables actions. (#132)

8e6f461b50677b99ce4a1079163f477fd2ddb34a authored over 2 years ago by Wilmer Arambula <[email protected]>
Prepare for next release

f415818ed9d985b17f741d614df7ef57c4cff6fe authored over 2 years ago by Alexander Makarov <[email protected]>
Release version 1.0.0

f2e5ea02790bfa0b202ca131a911e10dc3e99aa1 authored over 2 years ago by Alexander Makarov <[email protected]>
Check item exists on add role or permission (#129)

cf96986919f44a7f108290f05bbadc4a8665eddb authored over 2 years ago by Sergei Predvoditelev <[email protected]>
Remove assignments on remove role + cleanup and more tests (#127)

5d95f907f2ee4289211d50129f5a04f44d2ba8d4 authored over 2 years ago by Sergei Predvoditelev <[email protected]>
Add tests + Minor CS improvements (#125)

e6b9544184bc1f9e5e9dcbf6d419f52be2563a89 authored over 2 years ago by Sergei Predvoditelev <[email protected]>
Fix #122: Implement fluent interface (#124)

28d6e689a9db72187c5b09dac3a148f375ede382 authored almost 3 years ago by Sergei Predvoditelev <[email protected]>
Increase test coverage to 100% (#123)

5ccce2441163f75bdbf0f6db3d505ed1ad2fa075 authored almost 3 years ago by Sergei Predvoditelev <[email protected]>
Add hierarchy to readme (#119)

3e8562574952925c827a25ffdd0fe186d2985377 authored almost 3 years ago by Sergei Predvoditelev <[email protected]>
Fix #99: Allow int or stringable object as userId (#118)

220c802994f39055d1994bdcee4021a2c4c2f16e authored almost 3 years ago by Alexander Makarov <[email protected]>
Fix #107: Remove rules from items storage in favor rules container (#116)

90a1eefeb9310bc81c4af9e34122bc62712e0113 authored almost 3 years ago by Sergei Predvoditelev <[email protected]>
Add allow-plugins to config section in composer.json

d47fe8bbb245e18af4013e6d6a11244a3267bcca authored almost 3 years ago by Evgeniy Zyubin <[email protected]>
Fix #110: Replace `getAllChildren()` to `getParents()` in `ItemsStorageInterface` (#115)

3a8907b62cde3111837b2751a7e386f2ffc4b351 authored almost 3 years ago by Sergei Predvoditelev <[email protected]>
Fix #108, #106, #105: Refactoring

3b90d6296494652e4de7e465aa66a51643d5f24f authored almost 3 years ago by Alexander Makarov <[email protected]>
Fix #103: Refactor AssignmentsStorageInterface (#113)

613553e944ede2c95067db3f5f1980d2d95f3a32 authored almost 3 years ago by Alexander Makarov <[email protected]>
Add eol=lf text effect to .gitattributes file

413cc24e421a5bea714f9bb59cfcb3a30cfec180 authored almost 3 years ago by Evgeniy Zyubin <[email protected]>
Add PHP 8.1 support to GitHub workflow actions

2888082f80e78af2716ffde5c927c8a387326b82 authored almost 3 years ago by devanych <[email protected]>
Rename methods for get/set default roles (#102)

37a0fe51e37de5925154e32cd9c19a2ae0d294f0 authored almost 3 years ago by Sergei Predvoditelev <[email protected]>
Cleanup + Minor refactoring (#100)

986d525892cc084eb8b060e082837e50668c1c0e authored almost 3 years ago by Sergei Predvoditelev <[email protected]>
Add checking of class name and rule being created in `ClassNameRuleFactory` (#98)

4832edddb36a7ffee8d0efb2ead5fb00b50cab45 authored almost 3 years ago by Sergei Predvoditelev <[email protected]>