Author Topic: Access Controll Pada CMP  (Read 447 times)

0 Members and 1 Guest are viewing this topic.

Offline crackers

  • Administrator
  • Full Member
  • *****
  • Posts: 150
  • Karma: +0/-0
Access Controll Pada CMP
« on: June 07, 2011, 08:23:05 AM »
Para maste aku ingin bertanya..bisa ga klo kita login dimanager langsung mengarah ke component yang di allow untuk user tersebut? tapi jika admin dia load halaman manager biasa....

terus bisa ga kita kasih permission di tiap cmp
jadi misal di cmp a kita buat permission tiap user bisa read, view , edit atau delete gitu?

terimakasih sebelumnya

Offline goldsky

  • tweets @_goldsky
  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
  • Karma: +1/-0
  • Less is more
    • Virtudraft Web
Re: Access Controll Pada CMP
« Reply #1 on: June 07, 2011, 10:21:29 AM »
tentu saja SANGAT bisa...
sewaktu elo bikin permission group, ada pilihan2 termasuk Element Category Access.

Kalo komponen, coba atur di Form Customization
« Last Edit: June 07, 2011, 10:23:11 AM by goldsky »
Rico
Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
Apache 2.0.63 (Win32)
PHP Version 5.2.9-2
MySQL 5.0.87 (3306)
Security, security, security!
IE 6 must die !
Indonesian Forums
Cheatsheets: Revo's, Evo's
Easy 2 Gallery 1.4.x
Board || GIT || WIKI || Examples || Donate
spiefeed || Doc || GIT
» tutorial, tips, & tricks to here: http://modx-linx.net

Offline crackers

  • Administrator
  • Full Member
  • *****
  • Posts: 150
  • Karma: +0/-0
Re: Access Controll Pada CMP
« Reply #2 on: June 07, 2011, 10:42:32 AM »
btw gimana tuh master cara redirect langsung ke component? ketika login di manager?
wah berarti gwe belum baca secara detail nih master.....maap2 nanti direport selanjutnya.....kok jadi gagu gini lama ga utak atik :(
« Last Edit: June 07, 2011, 10:59:05 AM by crackers »

Offline goldsky

  • tweets @_goldsky
  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
  • Karma: +1/-0
  • Less is more
    • Virtudraft Web
Re: Access Controll Pada CMP
« Reply #3 on: June 07, 2011, 10:46:45 AM »
gak apa-apa.
kalo nelen semuanya buru-buru, nanti keselek. :P
Rico
Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
Apache 2.0.63 (Win32)
PHP Version 5.2.9-2
MySQL 5.0.87 (3306)
Security, security, security!
IE 6 must die !
Indonesian Forums
Cheatsheets: Revo's, Evo's
Easy 2 Gallery 1.4.x
Board || GIT || WIKI || Examples || Donate
spiefeed || Doc || GIT
» tutorial, tips, & tricks to here: http://modx-linx.net

Offline crackers

  • Administrator
  • Full Member
  • *****
  • Posts: 150
  • Karma: +0/-0
Re: Access Controll Pada CMP
« Reply #4 on: June 07, 2011, 08:30:50 PM »
hahahah menghina nih hehe

Offline crackers

  • Administrator
  • Full Member
  • *****
  • Posts: 150
  • Karma: +0/-0
Re: Access Controll Pada CMP
« Reply #5 on: June 09, 2011, 10:52:53 PM »
setelah dicobain pake form customization kok ga bisa yah? ada ide lain masta?

ada nambah lagi untuk grid doodles kok ga nampil yah? ada yang mengalami masalah yang sama?
« Last Edit: June 10, 2011, 03:45:34 AM by crackers »

Offline goldsky

  • tweets @_goldsky
  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
  • Karma: +1/-0
  • Less is more
    • Virtudraft Web
Re: Access Controll Pada CMP
« Reply #6 on: June 12, 2011, 06:29:00 AM »
setelah dicobain pake form customization kok ga bisa yah? ada ide lain masta?
Udah coba bermain dengan Resource Policy, belum?

ada nambah lagi untuk grid doodles kok ga nampil yah? ada yang mengalami masalah yang sama?
http://rtfm.modx.com/display/revolution20/Developing+an+Extra+in+MODX+Revolution%2C+Part+II
Quote
Finally, let's add the grid to our panel. Change this part in our Doodles.panel.Home:
Code: [Select]
,items: [{
   html: '<p>'+_('doodles.management_desc')+'</p><br />'
   ,border: false
}]

to this:
Code: [Select]
[{
   html: '<p>'+_('doodles.management_desc')+'</p><br />'
   ,border: false
},{
   xtype: 'doodles-grid-doodles'
   ,preventRender: true
}]

That loads our grid right below the message we posted earlier in our panel. The preventRender attribute tells Ext not to render the grid until the rest of the panel loads.

If you tried to load the page now, the grid would show, but not load any data - we haven't made our Connector yet, and so the grid doesn't have anywhere to fetch its data. Let's do that.
Mudah-mudahan ini yang dibutuhkan.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
Apache 2.0.63 (Win32)
PHP Version 5.2.9-2
MySQL 5.0.87 (3306)
Security, security, security!
IE 6 must die !
Indonesian Forums
Cheatsheets: Revo's, Evo's
Easy 2 Gallery 1.4.x
Board || GIT || WIKI || Examples || Donate
spiefeed || Doc || GIT
» tutorial, tips, & tricks to here: http://modx-linx.net