We use bitbucket to login into circle and since circle integration with bitbucket doesn’t list groups we are not able to setup any restriction over contexts. It would be nice if we can atleast manually create groups and assign to users so we can put some sort of restriction for certain contexts.
Hi @nishantyedla. Welcome to the CircleCI community!
Due to a limitation of the Bitbucket API, it is currently not possible to restrict contexts with Bitbucket organizations/groups.
I strongly recommend adding your vote to this existing feature request.
With the above said, you could implement a workaround similar this one, however it is important to note that such implementation doesn’t offer the security aspect that restricted contexts provide.