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

Question - Create nested INI file #349

Open
1 task done
abolinhas opened this issue Feb 3, 2024 · 0 comments
Open
1 task done

Question - Create nested INI file #349

abolinhas opened this issue Feb 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abolinhas
Copy link

Version

1.67.0

Describe the bug

Hi
It's possible create this kind of nasted INI with this library?

[realms]
    ATHENA.MIT.EDU = {
        auth_to_local = RULE:[2:$1](johndoe)s/^.*$/guest/
        auth_to_local = RULE:[2:$1;$2](^.*;admin$)s/;admin$//
        auth_to_local = RULE:[2:$2](^.*;root)s/^.*$/root/
        auto_to_local = DEFAULT
    }

To reproduce

I have read the documentation but don't find anything related.

Expected behavior

Create this kind of INI file

[realms]
    ATHENA.MIT.EDU = {
        auth_to_local = RULE:[2:$1](johndoe)s/^.*$/guest/
        auth_to_local = RULE:[2:$1;$2](^.*;admin$)s/;admin$//
        auth_to_local = RULE:[2:$2](^.*;root)s/^.*$/root/
        auto_to_local = DEFAULT
    }

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@abolinhas abolinhas added the bug Something isn't working label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant