× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Acl utents for table

9 năm 4 tháng trước - 9 năm 4 tháng trước #784 bởi ANTONIO
Acl utents for table was created by ANTONIO
hello, I want to know how to allocate the table, for each individual user. I tried in every way but nothing, I try to sign with another user and I view the table of others.
Last edit: 9 năm 4 tháng trước by ANTONIO.

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 4 tháng trước #785 bởi ANTONIO
Replied by ANTONIO on topic Acl utents for table

hello, I want to know how to allocate the table, for each individual user. I tried in every way but nothing, I try to sign with another user and I view the table of others.

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 4 tháng trước #820 bởi Eduardo Mena
Replied by Eduardo Mena on topic Acl utents for table
There are several ways to accomplish that. If you provide more information about what you're trying to do, I can try and help you.

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 4 tháng trước #824 bởi ANTONIO
Replied by ANTONIO on topic Acl utents for table
I want to assign a table to a different user by the same component

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 4 tháng trước #826 bởi Eduardo Mena
Replied by Eduardo Mena on topic Acl utents for table
By default you won't be able to accomplish that. You will have to modify the model for the list and item viiews.
Look for the getListQuery() in the model and edit the where clause. You'll have to add something like this:
$query->where('a.state = 1 AND '.$db->quoteName('created_by').' = '.JFactory::getUser()->get('id'));
Những thành viên sau(s) đã Cảm ơn: Andres Maeso

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 4 tháng trước #827 bởi ANTONIO
Replied by ANTONIO on topic Acl utents for table
where I find the getListQuery?
I first have to install the component?
which file should be changed?
tks.

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

Thời gian tải trang: 0.104 giây
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.