Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 13, 20187 yr I upgraded to 4.2.7 yesterday, and today one of my admins (the sites editor) has said that he cannot edit page records. The buttons within the databases ACP listing aren't showing for him. This isn't the case with any other admins, and oddly the admin can use direct links within the ACP to edit records. Likewise he can actually edit and do everything from the front site, it's just these buttons have magically disappeared. I'm wondering if anyone has this issue?
January 13, 20187 yr Hi, Could you please review the admins permissions? Is he allowed to edit records? Are the other admins allowed to edit records?
January 13, 20187 yr Hello, 18 minutes ago, Daniel F said: Could you please review the admins permissions? Is he allowed to edit records? Are the other admins allowed to edit records? All checked. There are no buttons, but admin can access to edit form page using direct link \applications\cms\modules\admin\databases\records.php if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_edit' ) ) { $return['edit'] = array( 'title' => 'edit', 'icon' => 'pencil', 'link' => \IPS\Http\Url::internal('app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=form'), 'data' => array() ); } if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_delete' ) ) { $return['delete'] = array( 'title' => 'delete', 'icon' => 'times-circle', 'link' => \IPS\Http\Url::internal( 'app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=delete' ), 'data' => array( 'delete' => '' ) ); } if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records' Why the module records? Should be databases
January 13, 20187 yr I'm reviewing this right now and once we have a fix for this, we'll release a patch
January 13, 20187 yr 14 minutes ago, newbie LAC said: Hello, All checked. There are no buttons, but admin can access to edit form page using direct link \applications\cms\modules\admin\databases\records.php if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_edit' ) ) { $return['edit'] = array( 'title' => 'edit', 'icon' => 'pencil', 'link' => \IPS\Http\Url::internal('app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=form'), 'data' => array() ); } if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_delete' ) ) { $return['delete'] = array( 'title' => 'delete', 'icon' => 'times-circle', 'link' => \IPS\Http\Url::internal( 'app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=delete' ), 'data' => array( 'delete' => '' ) ); } if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records' Why the module records? Should be databases Thanks, thanks correct
January 13, 20187 yr Author 7 hours ago, newbie LAC said: It's a bug. Submit a ticket. Already did before this Newbie. Quite funny and weird how the bug effects the one person who needs to edit the content. Thanks for your help @newbie LAC and @Daniel F
Archived
This topic is now archived and is closed to further replies.