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.403 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started