Access view
-
brody182
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 17
-
Thank you received: 0
-
-
7 years 10 months ago - 7 years 10 months ago #5855
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 10 months ago by brody182.
Please Log in or Create an account to join the conversation.
-
brody182
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 17
-
Thank you received: 0
-
-
7 years 10 months ago #5856
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
Please Log in or Create an account to join the conversation.
-
brody182
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 17
-
Thank you received: 0
-
-
7 years 10 months ago #5857
by brody182
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 10 months ago #5860
by admin
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.237 seconds