DMXzone Security Provider PHP Support Product Page

Solved

Set Page behaviour results in Forbidden with DMXzone security provider

Reported 20 Jan 2014 03:45:44
1
has this problem
20 Jan 2014 03:45:44 Steven Irwin posted:
Hi,
I have a page with a bootstrap table showing the first 10 records from a database source within a TR Repeat region. The datasource has the security provider applied.
I can access the first page of data after authentication but not any other pages of data. The json response is "Forbidden".
If I remove the security from the datasource then all is ok except for the obvious security issue.
How do I get around this problem?

****UPDATE*****
It seems I had set my security too high???
I went back through the setup again and removed a filter I had added to security - basically defined a condition.
With just standard security i.e. just the database table it works ok.
Probably just getting ahead of myself with setting up the security.

I will post any other issues I find but looks ok now.

Replies

Replied 20 Jan 2014 10:33:24
20 Jan 2014 10:33:24 Teodor Kuduschiev replied:
Hello Steven,

Can you please explain a little more detailed what do you meant by:

QuoteI went back through the setup again and removed a filter I had added to security - basically defined a condition.
With just standard security i.e. just the database table it works ok.

Replied 20 Jan 2014 12:16:10
20 Jan 2014 12:16:10 Steven Irwin replied:
Hi Teodor,

I had originally setup security and added permissions for each source. The permission was named admin and it looked for user_id to be not null.
When I removed this permission and set it the same way as the tutorial it worked for me.

The setting of the permission that way was to emulate what was done in CodeCharge Studio. I should just read the instructions, right?

Cheers

Steve

Reply to this topic