× Requests and support related to jBackend.

Access view

  • brody182
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago - 7 years 4 months ago #5855 by brody182
Access view was created by brody182
I created custom user group and assigned them to custom access level like you see in the screen shots,
the problem is that when i login as the client one it works as expected and then I logout and login as the client_two
and I see the same content as client_one or sometimes I see a blank screen










then I set the access level when I create an item


Last edit: 7 years 4 months ago by brody182.

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

  • brody182
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #5856 by brody182
Replied by brody182 on topic viewing Access Level
I created custom user group and assigned them to custom access level like you see in the screen shots,
the problem is that when i login as the client one it works as expected and then I logout and login as the client_two
and I see the same content as client_one or sometimes I see a blank screen










then I set the access level when I create an item


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

  • brody182
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #5857 by brody182
Replied by brody182 on topic Access view
maybe I have to logged out correctly, is this correct code for logout?
$("#logout").click(function(e) {
    e.preventDefault();


    $.ajax({
        type: "GET",
        url: "http://draftsite.com/request-end-point/get/user/logout",
        // data: JSON.stringify(credentials),
        // crossDomain: true,
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        xhrFields: {
            withCredentials: true
        },

        success: function(data) {
            console.log(data);

            if (data.status === "ok") {

                $.mobile.changePage($('#page-signin'));

            }
         
        },
        error: function(errMsg) {
            alert(errMsg);
        }
    });


});

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

More
7 years 4 months ago #5860 by admin
Replied by admin on topic Access view
Hi Brody,
sorry but I don't understand your problem. Can you contact me on skype? My username is "selfget".

Thanks,
Luigi

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

Time to create page: 0.310 seconds