Yii Framework Forum: Tips Disable Link Bagi User Yang Tidak Diberikan Hak Akses Dengan User Rights - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Tips Disable Link Bagi User Yang Tidak Diberikan Hak Akses Dengan User Rights Rate Topic: -----

#1 User is offline   hendry0391 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 13-August 13

Posted 13 August 2013 - 11:05 PM

permisi para master yii
ane mau tanya cara konfigurasi user rights modul supaya link buat akses operations jadi disable alias ga ditampilin buat user yang gak dikasih assigment untuk akses si operations ntu.
ane masih junior, mohon bantuannya ya para master2 yii
0

#2 User is offline   mrrens 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 25-July 12

Posted 20 August 2013 - 03:25 AM

tambahkan pada menu gan
'visible'=>Yii::app()->user->checkAccess('Item.*')
mudah-mudahan bisa membantu
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users