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

First pass at supporting templates in permissions. #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lyda
Copy link
Contributor

@lyda lyda commented Feb 2, 2017

Not married to this implementation. But need something like this.

This allows permissions to have {user} variables in them. This
would be useful for applications that use the force-command
permission for example:

force-command="/bin/gitolite-shell {user}"

This allows permissions to have `{user}` variables in them. This
would be useful for applications that use the `force-command`
permission for example:

force-command="/bin/gitolite-shell {user}"
@lyda
Copy link
Contributor Author

lyda commented Feb 4, 2017

Note that the build is failing because I haven't included github.com/delicb/gstring in the vendor branch. Not sure it's the right lib to use for one thing.

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

1 participant