OS Property support center

Agent permission in frontend

  • jose maria
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #38150 by jose maria
Agent permission in frontend was created by jose maria
Hi!
currently in the frontend, agents only can create properties, and super user can create agents and companies, but no properties, I need any agent or super user having permissions to create properties, agents an companies from the frontend

any help??

thanks in advance!!

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #38155 by Mr. Dam
Replied by Mr. Dam on topic Re: Agent permission in frontend
Hi Jose,
At frontend, only agents can create the properties. Administrator can only add properties at back-end of component.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • jose maria
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #38180 by jose maria
Replied by jose maria on topic Re: Agent permission in frontend
I need to change that, how can I give super user permission to add properties in the frontend?

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #38182 by Mr. Dam
Replied by Mr. Dam on topic Re: Agent permission in frontend
Hi Jose,
As i mentioned, administrator can't add properties at front-end. But if you really need it you can make the modification in the "add property" function.
It's in edit() from line 2299
file: components > com_osproperty > classes > listing.php

There are some problems you need to know.
1. In the first part of that function, we have some command to prevent user (not be an agent) to upload properties. You need to change it so administrator (not agent) can upload properties
2. One property must be belong to one agent, so you need to have the option to select agent for created properties. You need to create the option to allow administrator to select agent of properties.

One tip for you: If agent is also an administrator, he can add properties at frontend without any problem
Good luck
Dam

Please Log in or Create an account to join the conversation.

  • jose maria
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #38184 by jose maria
Replied by jose maria on topic Re: Agent permission in frontend
thanks Dam!

yep I tried to create an agent for the super user but now can create properties in the front end but no agents or companies

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #38185 by Mr. Dam
Replied by Mr. Dam on topic Re: Agent permission in frontend
Hi,
If you are agent, you don't need to select any agent or company when you add new property at frontend
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • jose maria
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #38186 by jose maria
Replied by jose maria on topic Re: Agent permission in frontend
I know, but I need a type of user that can create properties, agents and companies from the frontend

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #38187 by Mr. Dam
Replied by Mr. Dam on topic Re: Agent permission in frontend
Hi Jose,
OS Property doesn't have user who can create properties, agents, companies at the front-end.
With properties, we think you can make the modification in component to allow administrator to add the properties.
But with agents and companies are impossible.
So, to be honest, if you can't use OS Property, we can refund the money back to you and you can use it for other solution.
I will wait for your response.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • jose maria
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #38188 by jose maria
Replied by jose maria on topic Re: Agent permission in frontend
I'll try modify add property to allow non agents to add properties
thanks for de advice!

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #38189 by Mr. Dam
Replied by Mr. Dam on topic Re: Agent permission in frontend
Hi Jose,
Ok, please make the modification if you want. If you think you can't use my product, we still have solution to refund the money back 100%.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan