Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Grid view/Collection view 26 Mar 2014 02:41 #12356

  • naude
  • naude's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Is there a way for a user to only view the entries he/she created and NOT the entries another user created?


I have tried using Joomla's default permission settings with no success.
Regards,

Please Log in or Create an account to join the conversation.

Grid view/Collection view 26 Mar 2014 10:51 #12357

Yes I struggled with this at first too. But it does work

When creating your tables make sure you add the Wizards for Joomla Access. For completeness I also routinely add the wizards for Created by and Modified By, checkin/checkout, creation date etc. These are all Joomla standard fields and it makes sense to have them.

With all of this in your tables then your views should limit based n the ACL settings you set in Joomla. ie: Load your component, go to your component in backend, and amend Options to allow user groups to view and edit their own only. (ps: I have not seen where I can set permissions directly in J-Cook Builder)


:)

PS: One gotcha I have found is that if you create a fly view, which has no fields or tool bar (a blank canvas which you create the fields yourself) then obviosuly you will have to add your own code to limit the that view via the ACL
The following user(s) said Thank You: naude

Please Log in or Create an account to join the conversation.

Last edit: by mtifinn.

Grid view/Collection view 26 Mar 2014 12:00 #12358

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
You need to instance the published wizard and set default to 0.

When items are unpublished + author wizard, only author can see them.
I should write a doc on this.
Coding is now a piece of cake
The following user(s) said Thank You: naude

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.254 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started