Skip to content

Commit

Permalink
Merge pull request #4 from rtekal/vt-pl-join-ui-codeReview
Browse files Browse the repository at this point in the history
Vt pl join UI code review
  • Loading branch information
poorvi767 authored Jul 27, 2023
2 parents 1442f3a + f0af033 commit 3d8991e
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ public class PoliciesConfig {
"Edit Embedded Content",
"The ability to edit the embedded content for an entity.");

public static final Privilege CREATE_JOIN_PRIVILEGE = Privilege.of(
"CREATE_ENTITY_JOIN",
"Create join",
"The ability to add join on a dataset.");

public static final List<Privilege> COMMON_ENTITY_PRIVILEGES = ImmutableList.of(
VIEW_ENTITY_PAGE_PRIVILEGE,
EDIT_ENTITY_TAGS_PRIVILEGE,
Expand All @@ -222,7 +227,8 @@ public class PoliciesConfig {
EDIT_ENTITY_DATA_PRODUCTS_PRIVILEGE,
EDIT_ENTITY_DEPRECATION_PRIVILEGE,
EDIT_ENTITY_PRIVILEGE,
DELETE_ENTITY_PRIVILEGE
DELETE_ENTITY_PRIVILEGE,
CREATE_JOIN_PRIVILEGE
);

// Dataset Privileges
Expand Down Expand Up @@ -512,10 +518,6 @@ public class PoliciesConfig {
EDIT_USER_PROFILE_PRIVILEGE,
EDIT_ENTITY_PRIVILEGE)
);
public static final Privilege CREATE_JOIN_PRIVILEGE = Privilege.of(
"CREATE_ENTITY_JOIN",
"Create join",
"The ability to add join on a dataset.");

// Join Privileges
public static final ResourcePrivileges JOIN_PRIVILEGES = ResourcePrivileges.of(
Expand Down

0 comments on commit 3d8991e

Please sign in to comment.