• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: ACL rights on the component

ACL rights on the component 13 years 7 months ago #14923

Hello,

is it planned to include ACL rights management to the component on the admin side? As is, if you want certain users/groups to be able to use RSForm! Pro, and others not to, you can't because the only way to prevent access would be to copletely cut off access to all the components, which you may not want.
The administrator has disabled public write access.

Re: ACL rights on the component 13 years 6 months ago #14951

  • id-pop
  • id-pop's Avatar
  • OFFLINE
  • Fresh Boarder
  • ----- { ^^ } -----
  • Posts: 3
LAURENCE.VINCENT wrote:
Hello,

is it planned to include ACL rights management to the component on the admin side? As is, if you want certain users/groups to be able to use RSForm! Pro, and others not to, you can't because the only way to prevent access would be to completely cut off access to all the components, which you may not want.

I'm interested too, for RSFiles and RSFormPro and all your components...
Thx
The administrator has disabled public write access.

Re: ACL rights on the component 13 years 5 months ago #15377

  • dm.vgert
  • dm.vgert's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
im intrested too
The administrator has disabled public write access.

Re: ACL rights on the component 12 years 4 months ago #20468

Hi
It's very strange that there is no ACL support for RS Form PRo since ACL is a major improvement for Joomla 1.6+

Has anybody succeeded in adding ACL support?

Will RS joomla eventually bring this feature in a near future?
why don't we have answsers here ?

Without ACL support we won't be able to use RS form Pro any longer. Too bad since it was a cool product, easy for our customers and with interresting submission managment features.

cyril
The administrator has disabled public write access.

ACL rights on the component 12 years 4 months ago #20469

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
There's ACL support in RSForm! Pro for quite some time (the minimum requirement - accessing the component & accessing the Options toolbar button).
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

ACL rights on the component 12 years 4 months ago #20472

Hi

yes but it really is a BASIC implementation compared to what we see in most extensions now.

What we need is to be able to attach an ACL to each form so that some back office users just see the forms they are allowed to see!

Now every back office users can see all the forms and all the submissions. In complex sites with authors, managers, admins the rights are richer.

For example an author shloud be able to create a form without beeing able to publish it, a manager should be able to modify, delete, publish and unpublish any form whereas the admins have a full control.

We are building a quite complex site with a CCK (Seblod) but kept however RS Forms for it ease of use but without a full ACL support we may need to do everyting with the CCK.

thank you for your replies
Last Edit: 12 years 4 months ago by cyrilthibout.
The administrator has disabled public write access.

ACL rights on the component 12 years 4 months ago #20497

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Advanced ACL support is something that not everybody requires (only a fraction of our customers ever use ACL to be honest). With still having 10 extensions (along with their plugins and modules) to migrate to Joomla! 3.0, providing support, fixes, and updates for our customers, extended ACL support isn't high on our priority list right now. It's something we're considering for the future, but we don't have any time estimates right now.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

ACL rights on the component 12 years 1 month ago #21916

  • benoit.bigras
  • benoit.bigras's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
you can achieve want you want by using a bit of imagination. I'm in the same situation as wanting to restrict forms to only interns. Here the basic idea I used and seem to be working quite nicely. Although I`m not new to programming, I am new to Joomla environment. (which is why I`m using RsForm Pro :) ).

basically how I did this was...
- joomla is set to use readable URLs (so there's no "index.php?option=...."
- use the module plugin that you can download for posting a form inside a module.
- make an article and button (restricted with ACL)
- put the {loadposition modulePositionChosen} in your article
- back in "form manager / properties / PHP Script / $formLayout" insert code simular to this...
$url = $_SERVER['REQUEST_URI'];
if (false !== strpos($url,'?option=com_rsform&view=rsform')) {
    echo 'you cannot access the form this way! - Accês interdit!.';
exit;
} 

this code will stop all forms from being accessed that way, you could add "&formId=3" to the search criteria if you only want to stop a perticular form from being accessed that way.

bottom line is... with the "PHP Script / $formLayout" you can do lots of things...
The administrator has disabled public write access.

ACL rights on the component 12 years 1 month ago #21923

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
You can also restrict the form to logged in users by adding the following code in "Scripts called on form display"
$user = JFactory::getUser();
if ($user->get('guest')) {
	JError::raiseError(500, 'Not allowed');
}
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

ACL rights on the component 12 years 1 month ago #21940

  • pagoux
  • pagoux's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,
It's possible to restrict a component (like textbox) to be completed by admin only ?

thank you for your replies
The administrator has disabled public write access.

ACL rights on the component 12 years 1 month ago #21942

Hi,
It's possible to restrict a component (like textbox) to be completed by a admin only ?

hank you for your replies
The administrator has disabled public write access.

ACL rights on the component 12 years 1 month ago #21989

  • benoit.bigras
  • benoit.bigras's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
octavian wrote:
You can also restrict the form to logged in users by adding the following code in "Scripts called on form display"
$user = JFactory::getUser();
if ($user->get('guest')) {
	JError::raiseError(500, 'Not allowed');
}

yes that a better way but wouldn't that be 403 and not 500?... actually after a quick consultation... I finished with this
//groups[8] is for Super User OR groups[10] happens to be a group id i created
if(isset($user->groups[10]) || isset($user->groups[8]))
{
    echo '<h2>Welcome</h2>';
}else{
    echo 'Access Denied!. - ';
    echo '<a href="/" >Site</a>';
    exit;
}
Last Edit: 12 years 1 month ago by benoit.bigras.
The administrator has disabled public write access.
The following user(s) said Thank You: lorachats.web

ACL rights on the component 12 years 1 month ago #21990

  • benoit.bigras
  • benoit.bigras's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
lorachats.web wrote:
Hi,
It's possible to restrict a component (like textbox) to be completed by a admin only ?

hank you for your replies

that looks almost impossible unless you can track Joomla users using javascript, but I don't see it. OR if you could declare CSS in the PHP script that would be weakly doable. What I'm getting at is...

if javascript can track down the Joomla user then you could set the visibilty of the component class to "none" unless admin. Or if CSS would work in PHP script you could do it there. But even if you were sucessful at doing this, it's still far from being secure.
The administrator has disabled public write access.
The following user(s) said Thank You: lorachats.web
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!