752f7fcde0
* refactor: replace checkAdminOrOwner with team.create permission in teams page - Replace role-based access control with PBAC using team.create permission - Follow PBAC refactoring guide pattern for server-side permission checking - Use permission-specific variable naming (canCreateTeam) - Maintain existing TeamsListing component interface Co-Authored-By: eunjae@cal.com <hey@eunjae.dev> * refactor: implement permissions object pattern for TeamsListing - Replace isOrgAdmin prop with permissions object containing canCreateTeam - Follow PBAC refactoring guide pattern for UI components - Update TeamsListing component to use permissions.canCreateTeam - Maintain existing functionality while improving code structure - All type checking and linting verification passed Co-Authored-By: eunjae@cal.com <hey@eunjae.dev> * use different method --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>