-
Notifications
You must be signed in to change notification settings - Fork 168
Enable/Disable a user documentation missing in User Provisioning API #4079
Comments
There are commented-out acceptance tests that supposedly use these endpoints. But when the test scenario is enabled, actually there is no code underneath it. We need to see if the endpoints actually exist in the provisioning API source code. |
Thanks for following this up @phil-davis and for creating the issue @paurakhsharma. I'll chase this up. |
@phil-davis, can you point me to the correct tests? |
The tests were commented out. When I went looking this morning, I could not find any code/endpoints in the provisioning app that look like they are for enable/disable of apps. The scenarios were in
@DeepDiver1975 or @PVince81 any idea if the provisioning app was going to support (or does support) enable/disable of apps? Edit: sorry for the confusion!!! This comment is about enable/disable of apps, which is documented, and now there are acceptance tests that work... But this issue is about enable/disable of users. So my comment here is confusing rubbish. |
Thanks @phil-davis. There seems to be a unit test that supports the functionality. |
After looking at the documentation, it was clear that it needed quite a bit of love to bring it up to the current standard. This commit changes headers, makes the endpoints and their arguments clearer, by storing them in tables, converts the existing examples to curl console examples, and a few other changes. This relates to #4079.
Are |
@settermjd Yes thats the test for this feature but documentation is missing it.
and for v2
|
Awesome. Leave it with me to do a bit more research and I'll get it documented. |
After looking at the documentation, it was clear that it needed quite a bit of love to bring it up to the current standard. This commit changes headers, makes the endpoints and their arguments clearer, by storing them in tables, converts the existing examples to curl console examples, and a few other changes. This relates to #4079.
After looking at the documentation, it was clear that it needed quite a bit of love to bring it up to the current standard. This commit changes headers, makes the endpoints and their arguments clearer, by storing them in tables, converts the existing examples to curl console examples, and a few other changes. This relates to #4079.
After looking at the documentation, it was clear that it needed quite a bit of love to bring it up to the current standard. This commit changes headers, makes the endpoints and their arguments clearer, by storing them in tables, converts the existing examples to curl console examples, and a few other changes. This relates to #4079.
After looking at the documentation, it was clear that it needed quite a bit of love to bring it up to the current standard. This commit changes headers, makes the endpoints and their arguments clearer, by storing them in tables, converts the existing examples to curl console examples, and a few other changes. This relates to #4079.
Is this done? can we close this? |
|
No, I do not see anything about enable and disable a user. This still needs to be added. |
Last change on this issue was 17 Days ago, no one is assign. No one created a PR. please provice more information @phil-davis @paurakhsharma I don't know what User Provisioning API is or where "enable and disable a user" should be added. |
I looked found the original PR that introduces the command: owncloud/core#23844 and confirmed locally: Enable user: @voroyam would that be enough info to start with ? |
And the feature files mentioned above by @paurakhsharma have working acceptance tests that enable and disable users. |
I think not everyone is able to read the code from |
Indeed - although in PHPstorm I can right-click Goto->Implementation on the step text of a feature file and it will take me straight to the method/function that implements the step. If you keep drilling down, eventually something makes a real call to the API 😄 |
That would imply that I have and know PHPStorm :) I am just the substitute docs guy. @PVince81 yes, those commands are a good start. I just need to fill in the blanks. |
PR #4249 to review |
PR is merged, closing this issue. |
Enable/Disable a user endpoints are missing in the documentation.
The text was updated successfully, but these errors were encountered: