multi-user

Kohana 3.3 expanding the Auth module

戏子无情 提交于 2019-12-23 01:04:58
问题 I'm building an application using the Auth module for which I need at least 3 account types : Employer, Employee and Client. Since these accounts have different properties, functions and relationships (ex: employers has_many employees) I guess I need to have them on 3 separate ORM models. The method I thought was to tweak the Auth module to replace the 'User' model with the appropriate sub-model (employer, employee, client), corresponding the the user type in the database. Can this be done,

XMPP Room Invitation

前提是你 提交于 2019-12-21 21:38:46
问题 In my chatting application I want to implement Group Chatting functionality. For the same I want to create rooms and send the invitations to my friends to join the room. Here is my code to join and invite the friend to room. To Create the Room //Create Room btn_CreateRoom = (Button)findViewById(R.id.btn_usermenu_CreateRoom); btn_CreateRoom.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { // TODO Auto-generated method stub try { muc = new MultiUserChat

Entity Framework data updates in a multi-user environment with central database

时光毁灭记忆、已成空白 提交于 2019-12-19 06:06:07
问题 Let me explain the title. I'm using Entity Framework Code First in an application (TestApp) . For debugging purposes the TestApp connects to an SQLExpress database (central database server). To keep things simple here, the database contains one table "Products" and the TestApp shows all "Products" from the database in a datagrid and TestApp can add/delete a "Product" or modify the ProductName. public class Product { public int ProductId { get; set; } public string ProductName { get; set; } }

Entity Framework data updates in a multi-user environment with central database

允我心安 提交于 2019-12-19 06:06:01
问题 Let me explain the title. I'm using Entity Framework Code First in an application (TestApp) . For debugging purposes the TestApp connects to an SQLExpress database (central database server). To keep things simple here, the database contains one table "Products" and the TestApp shows all "Products" from the database in a datagrid and TestApp can add/delete a "Product" or modify the ProductName. public class Product { public int ProductId { get; set; } public string ProductName { get; set; } }

Setting up an MS-Access DB for multi-user access

☆樱花仙子☆ 提交于 2019-12-17 03:34:50
问题 We're thinking of "growing" a little MS-Access DB with a few tables, forms and queries for multiple users. (Using a different back-end is another, but more long-term option that is unfortunately currently not acceptable.) Most users will be read-only, but there will be a few (currently one or two) users that have to be able to do changes (while the read-only users are also using the DB). We're not so much concerned about the security aspects, but more about some of the following issues: How

EGit and multiple “users” on same machine

南楼画角 提交于 2019-12-12 17:03:51
问题 I'd like to work with multiple git-based open source projects from the same machine. For each project, I'd like to associate a differnet user.name and user.email as appropriate. For instance, I might want to work on some project called fizz that is hosted on GitHub, and also work on another project called buzz that has its own privately-hosted, centralized git server/repo. For the fizz project, I'd like to use myname@example.com as my email, so that when I push changes to the master branch,

how to handle form editing in a Multi-user environment?

无人久伴 提交于 2019-12-11 00:11:45
问题 My application is Multi-user application with server and client. In this one form is access by multiple user at the same time and they can perform save as draft or submit action. The issue is that I want to control simultaneous editing of form by multi user. For Example: User X is editing a value of textfield, checkbox and perform save as draft. And at the same time User Y edit the same value and submit form. Is there any way to control simultaneous form editing. any pointer? I am using java

Are Thread.current[] values and class level attributes safe to use in rails?

馋奶兔 提交于 2019-12-10 21:35:49
问题 I have a particular problem I'm trying to solve in a rails 3 app, and the two common solutions that I'm seeing are these: Thread.current[:something] = value and class Foo cattr_accessor :bar end Foo.bar = value Are these methods of data storage (and the corresponding retrieval) safe across multiple users making a request to my rails app, at the same time? I'm concerned about Thread.current, because a web server could use a single thread to serve up multiple requests, right? Or is there

How does the multi-user feature work in terms of paths on Android?

为君一笑 提交于 2019-12-06 10:42:59
问题 background Starting with version 4.2 , Android supports multi-user (link here and here). Each user has its apps and their private data is visible just for the user. The question How does the encapsulation of the data per user work in terms of paths and accessing files? I mean, what will be the paths per each user for: the private, internal storage. the emulated external storage (built in external storage) the "real" external storage (sd cards) ? I guess users can see the data stored on the sd

multi-user application record locking - best method?

本小妞迷上赌 提交于 2019-12-05 05:00:01
问题 I'm developing a php / mysql application that handles multiple simultaneous users. I'm thinking of the best approach to take when it comes to locking / warning against records that are currently being viewed / edited. The scenario to avoid is two users viewing the record, one making a change, then the other doing likewise - with the potential that one change might overwrite the previous. In the latest versions of WordPress they use some method to detect this, but it does not seem wholly