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

feat: adding python example for folder permission access #758

Merged
merged 3 commits into from
Jul 19, 2021

Conversation

davidtamaki
Copy link
Contributor

Example python SDK script to construct and output an object detailing content access metadata for each folder, showing how to recursively traverse the folder tree. For each folder, the object will contain a list of Groups and Users who have either been explicitly been granted view/edit access to the folder, or implicitly given via inheritance from a parent folder.

Developer Checklist ℹ️

  • Ensure the tests and linter pass
  • Appropriate docs were updated (if necessary)

@google-cla google-cla bot added the cla: yes label Jul 19, 2021
@joeldodge79 joeldodge79 changed the title feat(New Python Example): adding python example for folder permission access feat: adding python example for folder permission access Jul 19, 2021
@joeldodge79 joeldodge79 merged commit 21e52df into looker-open-source:main Jul 19, 2021
@joeldodge79
Copy link
Contributor

awesome, thanks @davidtamaki !

jkaster added a commit that referenced this pull request Jul 28, 2021
🤖 I have created a release \*beep\* \*boop\*
---
<details><summary>sdk-codegen-all: 1.12.0</summary>


### Features

* add 2 Python examples (pause/copy schedules, kill queries) ([#757](https://www.github.com/looker-open-source/sdk-codegen/issues/757)) ([787eeeb](https://www.github.com/looker-open-source/sdk-codegen/commit/787eeeb16d34dc27af01deef40fd69e175186f65))
* adding python example for folder permission access ([#758](https://www.github.com/looker-open-source/sdk-codegen/issues/758)) ([21e52df](https://www.github.com/looker-open-source/sdk-codegen/commit/21e52df573fcedab65449b3554d4f35ddee503d3))
* python barebones schedule plan example ([#763](https://www.github.com/looker-open-source/sdk-codegen/issues/763)) ([57cd05b](https://www.github.com/looker-open-source/sdk-codegen/commit/57cd05b2bc6b0427bb72eca57d91a0435de3785c))


### Bug Fixes

* dev portal apix tweaks ([#760](https://www.github.com/looker-open-source/sdk-codegen/issues/760)) ([6e937f4](https://www.github.com/looker-open-source/sdk-codegen/commit/6e937f4778457021dd739e849e209ad4de7bb450))
* improved writeable type support ([#766](https://www.github.com/looker-open-source/sdk-codegen/issues/766)) ([be91bd8](https://www.github.com/looker-open-source/sdk-codegen/commit/be91bd8e772f9a64c47486b317f1ac1f6ef14327))
* remove unused net/url import from go ([#767](https://www.github.com/looker-open-source/sdk-codegen/issues/767)) ([35d912c](https://www.github.com/looker-open-source/sdk-codegen/commit/35d912c1e31e5817a2b6a81084753a66a4860338)), closes [#765](https://www.github.com/looker-open-source/sdk-codegen/issues/765)
* support response observer chaining ([025618c](https://www.github.com/looker-open-source/sdk-codegen/commit/025618c806efc1664b4f573248ad5a64d6cee3e3))
* uses consistent heading text ([#761](https://www.github.com/looker-open-source/sdk-codegen/issues/761)) ([2e308ec](https://www.github.com/looker-open-source/sdk-codegen/commit/2e308ec1c6b4f181be12dda806955f8913336234))
</details>
<details><summary>@looker/api-explorer: 0.9.16</summary>


### Bug Fixes

* dev portal apix tweaks ([#760](https://www.github.com/looker-open-source/sdk-codegen/issues/760)) ([6e937f4](https://www.github.com/looker-open-source/sdk-codegen/commit/6e937f4778457021dd739e849e209ad4de7bb450))
* uses consistent heading text ([#761](https://www.github.com/looker-open-source/sdk-codegen/issues/761)) ([2e308ec](https://www.github.com/looker-open-source/sdk-codegen/commit/2e308ec1c6b4f181be12dda806955f8913336234))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/code-editor bumped from ^0.1.7 to ^0.1.8
    * @looker/run-it bumped from ^0.9.15 to ^0.9.16
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
  * devDependencies
    * @looker/sdk-node bumped from ^21.10.1 to ^21.10.2
</details>
<details><summary>@looker/sdk: 21.10.2</summary>


### Bug Fixes

* improved writeable type support ([#766](https://www.github.com/looker-open-source/sdk-codegen/issues/766)) ([be91bd8](https://www.github.com/looker-open-source/sdk-codegen/commit/be91bd8e772f9a64c47486b317f1ac1f6ef14327))
</details>
<details><summary>@looker/sdk-codegen: 21.0.22</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk-rtl bumped from ^21.0.17 to ^21.0.18
</details>
<details><summary>@looker/sdk-node: 21.10.2</summary>


### Bug Fixes

* improved writeable type support ([#766](https://www.github.com/looker-open-source/sdk-codegen/issues/766)) ([be91bd8](https://www.github.com/looker-open-source/sdk-codegen/commit/be91bd8e772f9a64c47486b317f1ac1f6ef14327))
* support response observer chaining ([025618c](https://www.github.com/looker-open-source/sdk-codegen/commit/025618c806efc1664b4f573248ad5a64d6cee3e3))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
</details>
<details><summary>@looker/sdk-rtl: 21.0.18</summary>


### Bug Fixes

* browserTransport.ts retains ok: false now ([#745](https://www.github.com/looker-open-source/sdk-codegen/issues/745)) ([451481c](https://www.github.com/looker-open-source/sdk-codegen/commit/451481c62cdc986c860c582e4a77e3e887c6a732))
</details>
<details><summary>looker_sdk: 21.10.1</summary>


### Bug Fixes

* improved writeable type support ([#766](https://www.github.com/looker-open-source/sdk-codegen/issues/766)) ([be91bd8](https://www.github.com/looker-open-source/sdk-codegen/commit/be91bd8e772f9a64c47486b317f1ac1f6ef14327))
</details>
<details><summary>@looker/extension-sdk: 21.10.2</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
</details>
<details><summary>@looker/code-editor: 0.1.8</summary></details>
<details><summary>@looker/extension-sdk-react: 21.10.2</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/extension-sdk bumped from ^21.10.1 to ^21.10.2
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
</details>
<details><summary>@looker/sdk-codegen-scripts: 21.0.23</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^21.10.0 to ^21.10.1
    * @looker/sdk-codegen bumped from ^21.0.21 to ^21.0.22
    * @looker/sdk-node bumped from ^21.10.0 to ^21.10.1
    * @looker/sdk-rtl bumped from ^21.0.17 to ^21.0.18
</details>
<details><summary>@looker/wholly-sheet: 0.5.14</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
  * devDependencies
    * @looker/sdk-node bumped from ^21.10.1 to ^21.10.2
</details>
<details><summary>@looker/run-it: 0.9.16</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
    * @looker/code-editor bumped from ^0.1.7 to ^0.1.8
</details>
<details><summary>@looker/hackathon: 21.10.2</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/extension-sdk bumped from ^21.10.1 to ^21.10.2
    * @looker/extension-sdk-react bumped from ^21.10.1 to ^21.10.2
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
    * @looker/wholly-sheet bumped from ^0.5.13 to ^0.5.14
</details>
<details><summary>@looker/extension-api-explorer: 21.11.1</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/api-explorer bumped from ^0.9.15 to ^0.9.16
    * @looker/extension-sdk bumped from ^21.10.1 to ^21.10.2
    * @looker/extension-sdk-react bumped from ^21.10.1 to ^21.10.2
    * @looker/run-it bumped from ^0.9.15 to ^0.9.16
    * @looker/sdk bumped from ^21.10.1 to ^21.10.2
</details>


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: John Kaster <kaster@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants