@InterfaceAudience.Public public class DAGAccessControls extends Object
Constructor and Description |
---|
DAGAccessControls() |
DAGAccessControls(String viewACLsStr,
String modifyACLsStr)
Helper API to support YARN and MapReduce format for specifying users and groups.
|
Modifier and Type | Method and Description |
---|---|
DAGAccessControls |
setGroupsWithModifyACLs(Collection<String> groups)
Sets the list of groups with modify permissions on the DAG.
|
DAGAccessControls |
setGroupsWithViewACLs(Collection<String> groups)
Sets the list of groups with view permissions on the DAG.
|
DAGAccessControls |
setUsersWithModifyACLs(Collection<String> users)
Sets the list of users with modify permissions on the DAG.
|
DAGAccessControls |
setUsersWithViewACLs(Collection<String> users)
Sets the list of users with view permissions on the DAG.
|
public DAGAccessControls()
public DAGAccessControls(String viewACLsStr, String modifyACLsStr)
viewACLsStr
- modifyACLsStr
- public DAGAccessControls setUsersWithViewACLs(Collection<String> users)
users
- Set of users with view permissionspublic DAGAccessControls setUsersWithModifyACLs(Collection<String> users)
users
- Set of users with modify permissionspublic DAGAccessControls setGroupsWithViewACLs(Collection<String> groups)
groups
- Set of groups with view permissionspublic DAGAccessControls setGroupsWithModifyACLs(Collection<String> groups)
groups
- Set of groups with modify permissionsCopyright © 2024 Apache Software Foundation. All rights reserved.