]> Untitled Git - lemmy-ui.git/commit
break out all role utils
authorAlec Armbruster <alectrocute@gmail.com>
Fri, 16 Jun 2023 21:07:55 +0000 (17:07 -0400)
committerAlec Armbruster <alectrocute@gmail.com>
Fri, 16 Jun 2023 21:07:55 +0000 (17:07 -0400)
commit0854af3794f7fb2b7712c9b30ab1147cc18583a3
treecd1ea23d7eef9fd91213d3e192e452a843c29812
parentf2db90196de4f59e82f8eb55025ef551bdf7211f
break out all role utils
21 files changed:
src/client/index.tsx
src/shared/components/app/navbar.tsx
src/shared/components/comment/comment-node.tsx
src/shared/components/community/sidebar.tsx
src/shared/components/home/home.tsx
src/shared/components/modlog.tsx
src/shared/components/person/profile.tsx
src/shared/components/person/reports.tsx
src/shared/components/post/post-listing.tsx
src/shared/utils.ts
src/shared/utils/roles/am-admin.ts [new file with mode: 0644]
src/shared/utils/roles/am-community-creator.ts [new file with mode: 0644]
src/shared/utils/roles/am-mod.ts [new file with mode: 0644]
src/shared/utils/roles/am-site-creator.ts [new file with mode: 0644]
src/shared/utils/roles/am-top-mod.ts [new file with mode: 0644]
src/shared/utils/roles/can-admin.ts [new file with mode: 0644]
src/shared/utils/roles/can-create-community.ts [new file with mode: 0644]
src/shared/utils/roles/can-mod.ts [new file with mode: 0644]
src/shared/utils/roles/is-admin.ts [new file with mode: 0644]
src/shared/utils/roles/is-banned.ts [new file with mode: 0644]
src/shared/utils/roles/is-mod.ts [new file with mode: 0644]