Skip to content

Commit 3bf38a3

Browse files
committed
docs: add comment to IsAllowed function in bitbucketdatacenter
- really to test CI - Added explanatory comment to clarify the purpose of IsAllowed function - Improved code documentation for better readability and maintenance Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
1 parent ff5f751 commit 3bf38a3

File tree

1 file changed

+1
-0
lines changed
  • pkg/provider/bitbucketdatacenter

1 file changed

+1
-0
lines changed

pkg/provider/bitbucketdatacenter/acl.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313

1414
type activitiesTypes struct{ Values []*bbv1.Activity }
1515

16+
// IsAllowed check if the user is allowed to trigger the pipeline.
1617
func (v *Provider) IsAllowed(ctx context.Context, event *info.Event) (bool, error) {
1718
allowed, err := v.checkMemberShip(ctx, event)
1819
if err != nil {

0 commit comments

Comments
 (0)