I think you'd need to load the source table into a different caslib (cross-caslib) to trigger the name based control, otherwise CAS will set the permission on the source as well.
Creation of Name-Based Controls
In general, each table-level control that you set is tied to a source file for one of the following reasons:
- When you set the control, you specify or select a source file (for example, cars.sashdat).
- When you set the control, you specify or select an in-memory table (for example, CARS), and CAS persists the control to the corresponding source file (for example, cars.sashdat).
The exception, in which table-level controls are name-based, occurs in the following circumstances:
- You set controls on an in-memory table that has no corresponding source file.
- You set controls on an in-memory table that is disconnected from its source file (cross-caslib data).
Source: Name-Based Access Controls
https://go.documentation.sas.com/doc/en/calcdc/3.5/calauthzcas/n1bf0cwn6ae85gn1b64x2j0czu24.htm#p0ic...
--
Greg Wootton | Principal Systems Technical Support Engineer