READ PROTECT - hiding values in queries.

If you think that something doesn't work in Aware IM post your message here
Post Reply
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

READ PROTECT - hiding values in queries.

Post by weblike »

Hi,

Is that normal that READ PROTECT also hides values in queries. This function is not intended to be used in forms?

Is normal to hide a attribute in forms, but in queries we can exclude the column if we do not want it!
Cheers
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: READ PROTECT - hiding values in queries.

Post by BenHayat »

It would be great for Aware to offer a new property called "Visible (y/n)" to any object attribute where at runtime we can set/get without depending on READ PROTECT to hide attributes.
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: READ PROTECT - hiding values in queries.

Post by aware_support »

READ PROTECT applies to queries as well as forms.
Aware IM Support Team
4xjbh
Posts: 177
Joined: Thu Dec 22, 2005 10:01 pm
Location: Brisbane

Re: READ PROTECT - hiding values in queries.

Post by 4xjbh »

Out of curiosity what is the use case for not showing an attribute in a form and showing it in a query / grid / report or other?
Regards, James

AwareIM 7.1 on AWS - Beware I'm a AwareIM noob. Anything I help you with might make the hole your in deeper.
ACDC
Posts: 1138
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Re: READ PROTECT - hiding values in queries.

Post by ACDC »

Read Protect is used as a universal security mechanism to hide an attribute from a particular type of user. The fact that it is also used as a mechanism to hide an attribute on a form for the purpose of form layout and not necessarily security is probably your use case.

I believe there should be another mechanism to hide attributes on a form, using READ PROTECT in my mind is an overkill because all the rules on the object have to fire, not to mention query absence. Something that serves the purpose of form layout only and is ajax based and lightweight is needed
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: READ PROTECT - hiding values in queries.

Post by BenHayat »

ACDC wrote:Read Protect is used as a universal security mechanism to hide an attribute from a particular type of user. The fact that it is also used as a mechanism to hide an attribute on a form for the purpose of form layout and not necessarily security is probably your use case.

I believe there should be another mechanism to hide attributes on a form, using READ PROTECT in my mind is an overkill because all the rules on the object have to fire, not to mention query absence. Something that serves the purpose of form layout only and is ajax based and lightweight is needed
As I had said and all other platforms offer that, each attribute should also have a "Visible (y/n)" property that at runtime we can use to toggle it in forms and queries, rather than using READ-PROTECT.
Visible is mainly used for UI, but the actual data is available for the rules and filtering and etc. I have ha this request for 2 years... :(
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: READ PROTECT - hiding values in queries.

Post by weblike »

Is v8 or V8.1 include such a feature ?
BenHayat wrote:
ACDC wrote:Read Protect is used as a universal security mechanism to hide an attribute from a particular type of user. The fact that it is also used as a mechanism to hide an attribute on a form for the purpose of form layout and not necessarily security is probably your use case.

I believe there should be another mechanism to hide attributes on a form, using READ PROTECT in my mind is an overkill because all the rules on the object have to fire, not to mention query absence. Something that serves the purpose of form layout only and is ajax based and lightweight is needed
As I had said and all other platforms offer that, each attribute should also have a "Visible (y/n)" property that at runtime we can use to toggle it in forms and queries, rather than using READ-PROTECT.
Visible is mainly used for UI, but the actual data is available for the rules and filtering and etc. I have ha this request for 2 years... :(
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

What is wrong with Hide Option in Queries?

Post by BLOMASKY »

Each attribute in a query has the following 2 options: Hide column initially and Hide if condition so if unconditionally, just tick (see, I can say tick and sound like I am from Australia) the hide column initially or conditionally. I use this instead of READ PROTECT for a query.

Now, we can't easily do that with a form, too bad!

Bruce
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: What is wrong with Hide Option in Queries?

Post by weblike »

BLOMASKY wrote:
Now, we can't easily do that with a form, too bad!

Bruce
Yes forms.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Post Reply