Replies: 1 comment
|
You need enough authority to both the library and the file (the object within the library) you want to work with. The goal is probably to be able to edit a source member. I do not know how Code4i handles source members but I presume that it makes use of something like CPYFRMSTMF (copy from a stream file). Have a look at https://www.ibm.com/docs/en/i/7.6.0?topic=commands-file and search for CPYFRMSTMF. You will find required authority. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am a new user to Code for i (and quite new with IBM i in general) and I am trying to set up some labs. The issue I find is the following:
As an ADMIN (pseudo QSECOFR) I clone two libraries (one with compiled objects and one with the source code for those) n times for n users.
When I log in as NEWUSRn, the object browser does not show me the source files in the SRCn library I created before, even after transferring the ownership of the library to NEWUSRn. However if I give *ALLOBJ to NEWUSRn, I can see all the members of the PF inside the browser.
Am I doing something wrong? What are the permissions needed so that NEWUSRn can see everything inside it's library? Is there any further action that I could be missing?
This is how the users are created:
"QSYS/CRTUSRPRF USRPRF(${USER}) \PASSWORD(${PASSWORD}) \USRCLS(*USER) \LMTCPB(*YES) \HOMEDIR(*USRPRF)TEXT('Lab user ${USER}')"All reactions