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