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

Proposal for passing a structure to ACL checking routines #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 5, 2014

  1. Add new file for common ACL tests procedures.

    * For now this helper only introduce the `new_request` function that (stupidly, without freeing memory)
    create a new request base on a `struct request` members.
    * acl-helpers header file introduce macro `USER_ONLY_REQUEST` that allow previous tests to work
    with as few modifications as possible (by just passing _username_ to the check function)
    riton committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    a5592f0 View commit details
    Browse the repository at this point in the history
  2. Introduce new struct request that holds all data requested by remot…

    …e user.
    
    * The struct request is meant to be used by acl that requires _full_ information requested by remote
    user (command, subcommand, args, ...)
    riton committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    a19dd49 View commit details
    Browse the repository at this point in the history