The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact firstname.lastname@example.org.
So what you are wondering is if you have this product
ID Option Feature Description
5770SS1 47 5119 IBM Advanced Data Security for i
Can you do this? Yes.
CREATE TABLE rob.brad (
with default USER -- Size must be 18! SQL State: 42894
insert into rob.brad (mychar) values('hi');
select mychar, createduser from rob.brad;
-- User running CREATE PERMISSION has to be registered in QIBM_DB_SECADM
-- cl: CHGFCNUSG FCNID(QIBM_DB_SECADM) USER(ROB) USAGE(*ALLOWED);
create permission Brad_created_only
FOR ROWS WHERE CREATEDUSER = CURRENT USER
ENFORCED FOR ALL ACCESS
alter table rob.brad activate row access control;
-- sign on as DUMMY and run insert into rob/brad (mychar) values('you');
select * from rob.brad; -- only returns the row with 'hi' and only the column MYCHAR.
Of course, you cannot run DLTUSRPRF DUMMY until you change the rows. If you try you will get the misleading information: CPF2215
You may have to change the permission to DISABLE to do so.
Damn it, now I have another case to open!
I signed on as DUMMY and deleted the row he created.
DUMMY now owns no objects, even including his message queue.
I'm still getting the CPF2215.
I even tried
ALTER permission Brad_created_only
alter table rob.brad DEactivate row access control;
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Record Level Security by User ID?, (continued)
This mailing list archive is Copyright 1997-2023 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.