[MAINT]: Missing distinction between roles and permissions #2508
Labels
Status: Triage
This is being looked at and prioritized
Type: Maintenance
Any dependency, housekeeping, and clean up Issue or PR
Describe the need
There is currently a function in the provider called
getPermission
that is being used to convert a role (e.g.read
) into a permission (e.g.pull
). The validity of this should be investigated as a comparison to the GitHub REST API; for examplegithub_repository_team
currently has thepermission
attribute which is being mapped to therole_name
coming back from the REST API while thepermissions
array data from the REST API are being ignored.This is relevant to #2498.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: