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

[11.11] Add expires_at parameter to Groups::addMember() #746

Merged
merged 7 commits into from
Jul 17, 2023

Conversation

ajuchacko
Copy link
Contributor

@ajuchacko ajuchacko commented Apr 8, 2023

Fix: #738

  • Updated test ShouldaddMember test
  • Moved/Made ACCESS_LEVELS const for project/group access levels
  • Updated phpdoc
  • All tests passing local

Hey, @GrahamCampbell I've added an optional parameter(of array type) to addMember method, I'd like to make another pr removing both $user_id, $acess_level from the method parameters, instead they will be passed inside the array like we're doing in other places to branch 12.0 once this gets merged

Thanks 😀

@ajuchacko ajuchacko marked this pull request as ready for review April 8, 2023 12:35
src/Api/Groups.php Outdated Show resolved Hide resolved
@GrahamCampbell GrahamCampbell changed the title [11.9] Adds expires_at parameter to groups::addMember() [11.10] Add expires_at parameter to Groups::addMember() Apr 30, 2023
@GrahamCampbell GrahamCampbell changed the base branch from 11.9 to 11.10 April 30, 2023 18:57
"User id and access level " are not required in the parameters array.
@GrahamCampbell GrahamCampbell changed the title [11.10] Add expires_at parameter to Groups::addMember() [11.11] Add expires_at parameter to Groups::addMember() Jul 17, 2023
@GrahamCampbell GrahamCampbell changed the base branch from 11.10 to 11.11 July 17, 2023 09:11
@GrahamCampbell GrahamCampbell merged commit 0d37c75 into GitLabPHP:11.11 Jul 17, 2023
@GrahamCampbell
Copy link
Member

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Allow expire date in Groups::addMember()
2 participants