Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Capture configs is unable to capture users and roles when specified by name #353

Closed
alencruz opened this issue Jan 25, 2015 · 1 comment
Closed

Comments

@alencruz
Copy link
Contributor

The setup:get-configuration function in setup.xqy used only ids to return users and roles. This prevented the capture configurations option from capturing users and roles specified by name in the current project configuration or as a parameter. This was a documented “TODO” in the code in order to improve the capture functionality.
I have added this capability and will be submitting a pull request momentarily. The setup:get-configuration function will now take user/role names or ids as a parameter and return the requested configurations.

alencruz added a commit to alencruz/roxy that referenced this issue Jan 25, 2015
The setup:get-configuration function in setup.xqy used only ids to
return users and roles. This prevented the capture configurations
option from capturing users and roles specified by name in the
current project configuration or as a parameter. This was a
documented “TODO” in the code in order to improve the capture
functionality. The setup:get-configuration function will now take
user/role names or ids as a parameter and return the requested
configurations. Also added default users and roles from current
project to capture_environment_config in server_config.rb. Lastly
removed word “full” from logging since it could be a full or partial
configuration that is being captured.
@grtjn grtjn added the capture label Feb 20, 2015
grtjn added a commit that referenced this issue Apr 14, 2015
…les-by-name

Fixing Issue #353 Capture config users&roles by name
@grtjn
Copy link
Contributor

grtjn commented Apr 14, 2015

Fixed in dev

@grtjn grtjn closed this as completed Apr 14, 2015
@grtjn grtjn added this to the 1.7.2 milestone Apr 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants