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

Add __experimentalUseResourcePermissions #38785

Merged
merged 7 commits into from
Jun 16, 2022

Commits on Jun 16, 2022

  1. Squashed commit of the following:

    commit c86f561
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Wed Feb 16 12:17:33 2022 +0100
    
        Move the return type to TS
    
    commit eefec13
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Wed Feb 16 12:16:36 2022 +0100
    
        Adjust TS types
    
    commit 12c7433
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Wed Feb 16 12:13:22 2022 +0100
    
        Make useResourcePermissions return a tuple and make hasResolved the first item of the tuple forces the users to think about that variable and it's not easy to accidentally miss it.
    
    commit caa48a7
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Tue Feb 15 17:03:31 2022 +0100
    
        Fix typo in the tests
    
    commit 33cdb4e
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Mon Feb 14 15:05:09 2022 +0100
    
        Expose __experimentalUseResourcePermissions as a public API
    
    commit cf30c5a
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Mon Feb 14 14:58:42 2022 +0100
    
        Distinguish between global and local resoluion
    
    commit 0db7bd2
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Mon Feb 14 14:42:36 2022 +0100
    
        Propose useResourcePermissions hook
    
    commit 2d5e270
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Mon Feb 14 14:48:09 2022 +0100
    
        Move the status computation inside the enriched selectors
    
    commit e7ac34e
    Author: Adam Zieliński <adam@adamziel.com>
    Date:   Mon Feb 14 14:01:11 2022 +0100
    
        Propose useEntityRecords
    adamziel committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    6a15fd5 View commit details
    Browse the repository at this point in the history
  2. Update packages/core-data/src/hooks/use-resource-permissions.ts

    Co-authored-by: Kai Hao <kevin830726@gmail.com>
    adamziel and kevin940726 committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    9dcc6e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e07a1b View commit details
    Browse the repository at this point in the history
  4. Fix unit tests

    adamziel committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    54afeee View commit details
    Browse the repository at this point in the history
  5. Fix unit tests

    adamziel committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    c1da2e3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dd55fce View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c9b3f58 View commit details
    Browse the repository at this point in the history