-
Notifications
You must be signed in to change notification settings - Fork 37
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: add permission table and create role flyout #219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work. A number of changes we need to make.
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
packages/cms/pages/settings/roles-and-permissions/roles-and-permissions.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. A few changes
|
||
const columns = [ | ||
{ | ||
field: 'role', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Field is role
and name is Role
. Same for members.
return ( | ||
<> | ||
<TableHeading> | ||
<div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When displaying text, be sure to use EuiText
or EuiTitle
. In this case, please use a title. The size of the title should be the same as the title of the profile page.
…39/permissions
… into CMS-39/permissions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🎉
No description provided.