Skip to content

Proposition : split the config file #21

@mtancoigne

Description

@mtancoigne

The idea behind the proposition is to have the ability to split the config file (acl.ini) in multiple files: I'd like to be able to create an acl.admin.ini with all admin-related rights, an acl.users.ini with users rights, etc... and when the files are merged, the rights are merged too, so I can have this :

; File acl.whatever.ini
[Controller1]
action1, action2= someRole

; File acl.whatever2.ini
[Controller1]
action1= someOtherRole

; Merged array:
[Controller1]
action1= someRole, someOtherRole
action2= someRole

I did something once with Yaml files, but it should be possible with inis too.

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions