Skip to content

Commit

Permalink
change edit permission from system to groups
Browse files Browse the repository at this point in the history
  • Loading branch information
knight-of-ni committed Aug 15, 2015
1 parent 1d688be commit c53bb7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/skins/classic/views/group.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//

if ( !canEdit( 'System' ) )
if ( !canEdit( 'Groups' ) )
{
$view = "error";
return;
Expand Down Expand Up @@ -78,7 +78,7 @@
</tbody>
</table>
<div id="contentButtons">
<input type="submit" value="<?php echo translate('Save') ?>"<?php if ( !canEdit( 'System' ) ) { ?> disabled="disabled"<?php } ?>/>
<input type="submit" value="<?php echo translate('Save') ?>"<?php if ( !canEdit( 'Groups' ) ) { ?> disabled="disabled"<?php } ?>/>
<input type="button" value="<?php echo translate('Cancel') ?>" onclick="closeWindow()"/>
</div>
</form>
Expand Down

0 comments on commit c53bb7f

Please sign in to comment.