Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
I would like to restrict Admins from being able to see authenticated users and authenticated users special from the admin's users tab.

Where would I need to edit the code to allow only the super admin to see the authenticated users?
You would use the admin theme to accomplish this.
viewtopic.php?f=5&t=10241#p24680

First, enable your own custom admin theme in couch/config.php by uncommenting the last line below.
Code: Select all
// 26
// If the admin-panel uses a custom theme, set the following to the folder-name of the theme.
// Theme folder is expected to be within the 'couch/theme' folder. No leading or trailing slashes please.
//define( 'K_ADMIN_THEME', 'sample' );

In the couch/theme/_system folder find list_row.html. Place a copy of list_row.html in your custom theme folder and modify it as follows:
Code: Select all
<cms:admin_list_fields>
    <cms:if k_user_access_level =='10' || (k_user_access_level =='7' && level ge '7' || level lt '1') >
        <td class="col-<cms:show k_field_class />">
            <cms:show k_field_content />
        </td>
    </cms:if>
</cms:admin_list_fields>
2 posts Page 1 of 1

Who is online

In total there are 5 users online :: 0 registered, 1 hidden and 4 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 4 guests

cron