Make some task readonly

2 posts, 0 answers
  1. Gert
    Gert avatar
    26 posts
    Member since:
    Jan 2015

    Posted 07 Feb 2015 Link to this post

    We have 1 scheduler where multiple users can create tasks.
    In the database a task is created with a user_id. So we know which user created which task.
    The user_id from the database is included in JSON and Kendo UI datasource.

    How we achieve that a user can only modify(update, delete) his own tasks ? Tasks from other users have to be read-only.
    The popup-window must open for all, but alle buttons must be disabled if not created by the user.

    thx,
    Gert
  2. Gert
    Gert avatar
    26 posts
    Member since:
    Jan 2015

    Posted 10 Feb 2015 Link to this post

    Solved with events : resizeEnd, moveEnd,....

    resizeEnd: function(e) {
                if (e.event.userId != loggedOnUserID)
                {
                     e.preventDefault();
                }
Back to Top