Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [FIXED] ACL problem 500 - You are not authorised to view this resource

[FIXED] ACL problem 500 - You are not authorised to view this resource 08 Oct 2012 00:19 #4314

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
Hi

I have created a component with a frontend form to add records. I have added view access and author wizards to the table, and in backend config set create, edit own and view own to allowed for the registered user, but whenever I try to access the form, I get an error 500 - You are not authorised to view this resource.

I even tried to allow all for registered but to no avail. I don't know if I'm missing some setting somewhere, but from what I could read on the forum, that should be all that was needed.

To me it looks like a bug??

Thanks
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 11 Oct 2012 06:33 #4379

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Access must be initialized.

It can happen when you instancied it AFTER having added new records.
What happen if you try to create a new item ? Can you define Access, Can you access to it.

It cannot be an ACL problem if you are under ADMIN virtual user
It cannot be a checked out problem if you just have regenerated, all the item have been checked in.

Can you provide more informations ?
On solution is also to flush your dataset, as final solution if you didn't solved the problem.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 11 Oct 2012 09:18 #4399

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
I tried to flush data in sandbox and install it again

then set vcl again to allow create, edit own and view own for registered user. When I access the form I get error 500. BUT, if my user is author, or above, then I can access without problem.

Sandbox component: sandbox.cms25.j-cook.pro/index.php?option=com_demo6166 select jobseeker.

If you select user Nina, you see the error. If above user, no problem. I can't figure that out.
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 19 Oct 2012 05:36 #4653

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Do you still have this issue ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 24 Oct 2012 22:08 #4730

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
I just had time to test this - this time on another component I just created and I still face the same issue. If I'm not admin, then I can't access the form.

You can try sandbox.cms25.j-cook.pro/index.php?optio...w=order&layout=order and select nina as user - then you get error 500 - You are not authorised to view this resource.
Last Edit: 24 Oct 2012 22:10 by dyvel.
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 02 Nov 2012 10:19 #4921

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
Hi

I was wondering if you have had time to look at this?

Thanks
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 02 Dec 2012 15:24 #5731

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I would like to fix your problem now.

Can you first check all these points
- Are you under 2.0 ?
- Did you tried to remove the access wizard and recreate ?
- Is you access wizard correctly linked to the 'access' field ?
- Are you using the 'check out' wizard on this same table ?

Can you try again in sandbox now (maybe collateral fixed ;-) I do not think so, but let's have a try please.

Thanks and one thousand sorry for this incredible patience you had (almost 2 months).
Now I will fix it !!!
Coding is now a piece of cake
Last Edit: 02 Dec 2012 15:25 by admin.
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:39 #5990

  • jcasanova
  • jcasanova's Avatar
  • Offline
  • Senior Member
  • Posts: 40
  • Thank you received: 1
  • Karma: 1
Hi Admin, I run in to this same problem, so I was searching for any help related, and I just found this one related what I'm having.

- usign v.0
- I added the view access wizard / remove it
- wizard did the auto generated field
- not usign check out.

i'm trying to access an ADD user, layout it needed to be guest.
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:44 #5991

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Can you please remind you your working account ?
And your PTL (Project / Table / Layout)
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:49 #5992

  • jcasanova
  • jcasanova's Avatar
  • Offline
  • Senior Member
  • Posts: 40
  • Thank you received: 1
  • Karma: 1
sorry,

user: soportedo
project: "Portal Hogar"
table: "Usuarios"
Layout : "add usuario"


thanks
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:51 #5993

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Can you please use this username on the forum please ?
Because everytime I will have to ask you...
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 13:52 #5994

  • jcasanova
  • jcasanova's Avatar
  • Offline
  • Senior Member
  • Posts: 40
  • Thank you received: 1
  • Karma: 1
ok, I will from now on.
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Re: 500 - You are not authorised to view this resource 10 Dec 2012 14:10 #5995

  • soportedo
  • soportedo's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Thank you received: 1
  • Karma: 1
it's weird. I give in the componnent the permissions to the public to permited to all

and the "getActions" throws this:
JObject Object
(
[_errors:protected] => Array
(
)

[core.admin] =>
[core.manage] =>
[core.create] =>
[core.edit] =>
[core.edit.state] =>
[core.edit.own] =>
[core.delete] =>
[core.delete.own] =>
)

Does it needs to have a admin backend collections in order to get the access?
Last Edit: 10 Dec 2012 14:12 by soportedo.
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 14:19 #5997

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Oh, yes I've seen this already.

And the toolbar is not visible ....

I hate ACL, it is so complex sometimes.
If I remember, it happens when I tried to uprade the sandbox.
Do you see the sandbox version : 2.5.3

I guess you are working on 2.5.8 ...
I didn't solved it yet.

I guess it is working in sandbox...

It is really weired...

Seems since a new version of Joomla.
I do not understand what I am doing wrong...
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 500 - You are not authorised to view this resource 10 Dec 2012 14:25 #5998

  • soportedo
  • soportedo's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Thank you received: 1
  • Karma: 1
In sandbox I see "2.5" .

I'm using joomla 2.5.8 on production.

for now i'm hardcoding the access in order to continue the develop, need to integrate layouts design.

hope you can work it out.
thanks
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.087 seconds

Get Started