Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to use array for autoloading permissions #53

Merged
merged 1 commit into from
Aug 11, 2020

Conversation

groovenectar
Copy link

Example usage in users.php in the Users plugin:

'Auth' => [
	'RbacPolicy' => [
		'adapter' => [
			'autoload_config' => [
				'MyPlugin.permissions',
				'MyOtherPlugin.permissions',
				'permissions',
			],
		],
	],
],

Since the array is optional, it should not break existing implementations

@groovenectar
Copy link
Author

I'll update per the test results on this file

@rochamarcelo
Copy link
Contributor

Would be nice to have some info in documentation pages.

@steinkel steinkel merged commit d7458f8 into CakeDC:master Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants