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

Make repository services configurable #15

Open
lolautruche opened this issue Dec 12, 2016 · 1 comment
Open

Make repository services configurable #15

lolautruche opened this issue Dec 12, 2016 · 1 comment
Assignees
Milestone

Comments

@lolautruche
Copy link
Owner

lolautruche commented Dec 12, 2016

Some eZ repository services are designed to allow settings injection:

However there is currently no way to define these settings, except for a few (e.g. anonymous user ID).

It would be nice to expose some semantic configuration for this:

ez_core_extra:
    system:
        default:
            repository:
                user:
                    default_placement: 12
                    content_type_id: 4
                    group_id: 3
                    password_hash_type: ~
                    site_name: ez.no
                name_schema:
                    limit: 150
                    sequence: ...
                url_alias:
                    show_all_translations: false
@lolautruche lolautruche self-assigned this Dec 12, 2016
@lolautruche lolautruche added this to the 1.1 milestone May 5, 2017
@lolautruche lolautruche modified the milestones: 1.2, 1.1, 2.1 Jun 12, 2017
@andrerom
Copy link

Sounds like a core feature, something we should prioritize now.

But if in core I would maybe not tie them to much to the internal settings structure of repo code, as:

  • It might change, but the concepts they represent probably won't
  • some of the settings involved are typically used several places (e.g. show all translations could be higher level like the legacy setting which is system wide to show all translations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants