Home
last modified time | relevance | path

Searched refs:Privilege (Results 1 – 25 of 37) sorted by relevance

12

/trunk/main/connectivity/source/drivers/hsqldb/
H A DHUser.cxx154 nRights |= Privilege::SELECT; in findPrivilegesAndGrantPrivileges()
160 nRights |= Privilege::INSERT; in findPrivilegesAndGrantPrivileges()
178 nRights |= Privilege::READ; in findPrivilegesAndGrantPrivileges()
190 nRights |= Privilege::ALTER; in findPrivilegesAndGrantPrivileges()
202 nRights |= Privilege::DROP; in findPrivilegesAndGrantPrivileges()
306 if((nRights & Privilege::INSERT) == Privilege::INSERT) in getPrivilegeString()
309 if((nRights & Privilege::DELETE) == Privilege::DELETE) in getPrivilegeString()
316 if((nRights & Privilege::UPDATE) == Privilege::UPDATE) in getPrivilegeString()
323 if((nRights & Privilege::ALTER) == Privilege::ALTER) in getPrivilegeString()
330 if((nRights & Privilege::SELECT) == Privilege::SELECT) in getPrivilegeString()
[all …]
H A DHTable.cxx67 m_nPrivileges = Privilege::DROP | in OHSQLTable()
68 Privilege::REFERENCE | in OHSQLTable()
69 Privilege::ALTER | in OHSQLTable()
70 Privilege::CREATE | in OHSQLTable()
71 Privilege::READ | in OHSQLTable()
72 Privilege::DELETE | in OHSQLTable()
73 Privilege::UPDATE | in OHSQLTable()
74 Privilege::INSERT | in OHSQLTable()
75 Privilege::SELECT; in OHSQLTable()
H A DHTables.cxx83 …nPrivileges &= ~( Privilege::INSERT | Privilege::UPDATE | Privilege::DELETE | Privilege::CREATE | in createObject()
/trunk/main/connectivity/source/drivers/mysql/
H A DYUser.cxx154 nRights |= Privilege::SELECT; in findPrivilegesAndGrantPrivileges()
160 nRights |= Privilege::INSERT; in findPrivilegesAndGrantPrivileges()
178 nRights |= Privilege::READ; in findPrivilegesAndGrantPrivileges()
190 nRights |= Privilege::ALTER; in findPrivilegesAndGrantPrivileges()
202 nRights |= Privilege::DROP; in findPrivilegesAndGrantPrivileges()
305 if((nRights & Privilege::INSERT) == Privilege::INSERT) in getPrivilegeString()
308 if((nRights & Privilege::DELETE) == Privilege::DELETE) in getPrivilegeString()
315 if((nRights & Privilege::UPDATE) == Privilege::UPDATE) in getPrivilegeString()
322 if((nRights & Privilege::ALTER) == Privilege::ALTER) in getPrivilegeString()
329 if((nRights & Privilege::SELECT) == Privilege::SELECT) in getPrivilegeString()
[all …]
H A DYTables.cxx93 sal_Int32 nPrivileges = Privilege::DROP | in createObject()
94 Privilege::REFERENCE | in createObject()
95 Privilege::ALTER | in createObject()
96 Privilege::CREATE | in createObject()
97 Privilege::READ | in createObject()
98 Privilege::DELETE | in createObject()
99 Privilege::UPDATE | in createObject()
100 Privilege::INSERT | in createObject()
101 Privilege::SELECT; in createObject()
H A DYTable.cxx86 m_nPrivileges = Privilege::DROP | in OMySQLTable()
87 Privilege::REFERENCE | in OMySQLTable()
88 Privilege::ALTER | in OMySQLTable()
89 Privilege::CREATE | in OMySQLTable()
90 Privilege::READ | in OMySQLTable()
91 Privilege::DELETE | in OMySQLTable()
92 Privilege::UPDATE | in OMySQLTable()
93 Privilege::INSERT | in OMySQLTable()
94 Privilege::SELECT; in OMySQLTable()
/trunk/main/connectivity/source/drivers/ado/
H A Dadoimp.cxx275 nRights |= Privilege::INSERT; in mapAdoRights2Sdbc()
279 nRights |= Privilege::UPDATE; in mapAdoRights2Sdbc()
281 nRights |= Privilege::ALTER; in mapAdoRights2Sdbc()
287 nRights |= Privilege::DROP; in mapAdoRights2Sdbc()
296 if((nRights & Privilege::INSERT) == Privilege::INSERT) in mapRights2Ado()
298 if((nRights & Privilege::DELETE) == Privilege::DELETE) in mapRights2Ado()
300 if((nRights & Privilege::UPDATE) == Privilege::UPDATE) in mapRights2Ado()
302 if((nRights & Privilege::ALTER) == Privilege::ALTER) in mapRights2Ado()
304 if((nRights & Privilege::SELECT) == Privilege::SELECT) in mapRights2Ado()
306 if((nRights & Privilege::REFERENCE) == Privilege::REFERENCE) in mapRights2Ado()
[all …]
H A DADatabaseMetaDataImpl.cxx352 nRight |= Privilege::READ; in MapRight()
360 nRight |= Privilege::DROP; in MapRight()
368 if(_eNum & Privilege::SELECT) in Map2Right()
371 if(_eNum & Privilege::INSERT) in Map2Right()
374 if(_eNum & Privilege::UPDATE) in Map2Right()
377 if(_eNum & Privilege::DELETE) in Map2Right()
380 if(_eNum & Privilege::READ) in Map2Right()
383 if(_eNum & Privilege::CREATE) in Map2Right()
386 if(_eNum & Privilege::ALTER) in Map2Right()
389 if(_eNum & Privilege::REFERENCE) in Map2Right()
[all …]
/trunk/main/dbaccess/source/ui/control/
H A DTableGrantCtrl.cxx263 GRANT_REVOKE_RIGHT(Privilege::INSERT); in SaveModified()
266 GRANT_REVOKE_RIGHT(Privilege::DELETE); in SaveModified()
272 GRANT_REVOKE_RIGHT(Privilege::ALTER); in SaveModified()
281 GRANT_REVOKE_RIGHT(Privilege::DROP); in SaveModified()
369 bAllowed = (Privilege::INSERT & _nPrivilege) == Privilege::INSERT; in isAllowed()
372 bAllowed = (Privilege::DELETE & _nPrivilege) == Privilege::DELETE; in isAllowed()
375 bAllowed = (Privilege::UPDATE & _nPrivilege) == Privilege::UPDATE; in isAllowed()
378 bAllowed = (Privilege::ALTER & _nPrivilege) == Privilege::ALTER; in isAllowed()
381 bAllowed = (Privilege::SELECT & _nPrivilege) == Privilege::SELECT; in isAllowed()
384 bAllowed = (Privilege::REFERENCE & _nPrivilege) == Privilege::REFERENCE; in isAllowed()
[all …]
/trunk/main/connectivity/source/drivers/adabas/
H A DBUser.cxx154 { "INS", Privilege::INSERT }, in getAnyTablePrivileges()
155 { "DEL", Privilege::DELETE }, in getAnyTablePrivileges()
156 { "UPD", Privilege::UPDATE }, in getAnyTablePrivileges()
157 { "ALT", Privilege::ALTER }, in getAnyTablePrivileges()
158 { "SEL", Privilege::SELECT }, in getAnyTablePrivileges()
287 if((nRights & Privilege::INSERT) == Privilege::INSERT) in getPrivilegeString()
290 if((nRights & Privilege::DELETE) == Privilege::DELETE) in getPrivilegeString()
297 if((nRights & Privilege::UPDATE) == Privilege::UPDATE) in getPrivilegeString()
304 if((nRights & Privilege::ALTER) == Privilege::ALTER) in getPrivilegeString()
311 if((nRights & Privilege::SELECT) == Privilege::SELECT) in getPrivilegeString()
[all …]
/trunk/main/connectivity/source/commontools/
H A Ddbtools2.cxx732 nPrivileges |= Privilege::READ; in getTablePrivileges()
736 nPrivileges |= Privilege::ALTER; in getTablePrivileges()
740 nPrivileges |= Privilege::DROP; in getTablePrivileges()
751 Privilege::REFERENCE | in getTablePrivileges()
752 Privilege::ALTER | in getTablePrivileges()
753 Privilege::CREATE | in getTablePrivileges()
754 Privilege::READ | in getTablePrivileges()
755 Privilege::DELETE | in getTablePrivileges()
756 Privilege::UPDATE | in getTablePrivileges()
757 Privilege::INSERT | in getTablePrivileges()
[all …]
H A Ddbtools.cxx1272 …Set->getPropertyValue(::rtl::OUString::createFromAscii("Privileges"))) & Privilege::INSERT) != 0)); in canInsert()
1278 …Set->getPropertyValue(::rtl::OUString::createFromAscii("Privileges"))) & Privilege::UPDATE) != 0)); in canUpdate()
1284 …Set->getPropertyValue(::rtl::OUString::createFromAscii("Privileges"))) & Privilege::DELETE) != 0)); in canDelete()
/trunk/main/odk/examples/DevelopersGuide/Database/
H A DRowSet.java37 import com.sun.star.sdbcx.Privilege;
127 if( (nPriv & Privilege.SELECT) == Privilege.SELECT) in showRowSetPrivileges()
129 if( (nPriv & Privilege.INSERT) == Privilege.INSERT) in showRowSetPrivileges()
131 if( (nPriv & Privilege.UPDATE) == Privilege.UPDATE) in showRowSetPrivileges()
133 if( (nPriv & Privilege.DELETE) == Privilege.DELETE) in showRowSetPrivileges()
/trunk/main/dbaccess/source/core/api/
H A DRowSetCache.cxx101 ,m_nPrivileges( Privilege::SELECT ) in DBG_NAME()
128 m_nPrivileges = Privilege::SELECT|Privilege::DELETE|Privilege::INSERT|Privilege::UPDATE; in DBG_NAME()
180 … m_nPrivileges = Privilege::SELECT|Privilege::DELETE|Privilege::INSERT|Privilege::UPDATE; in DBG_NAME()
248 m_nPrivileges = Privilege::SELECT; in DBG_NAME()
257 m_nPrivileges = Privilege::SELECT; in DBG_NAME()
281 m_nPrivileges = Privilege::SELECT; in DBG_NAME()
290 m_nPrivileges = Privilege::SELECT; in DBG_NAME()
302 m_nPrivileges = Privilege::SELECT; in DBG_NAME()
339 m_nPrivileges = Privilege::SELECT; in DBG_NAME()
354 m_nPrivileges = Privilege::SELECT; in DBG_NAME()
[all …]
H A DRowSet.cxx957 …urrency::READ_ONLY || m_bNew || ((m_pCache->m_nPrivileges & Privilege::UPDATE ) != Privilege::UPDA… in updateRow()
1024 if ( ( m_pCache->m_nPrivileges & Privilege::DELETE ) != Privilege::DELETE ) in deleteRow()
1195 if ( ( m_pCache->m_nPrivileges & Privilege::INSERT ) != Privilege::INSERT ) in moveToInsertRow()
1830 m_nPrivileges = Privilege::SELECT; in execute_NoApprove_NoNewConn()
1831 m_pCache->m_nPrivileges = Privilege::SELECT; in execute_NoApprove_NoNewConn()
/trunk/main/svx/source/fmcomp/
H A Dgridctrl.cxx1295 if ((nPrivileges & Privilege::INSERT) == 0) in SetOptions()
1297 if ((nPrivileges & Privilege::UPDATE) == 0) in SetOptions()
1299 if ((nPrivileges & Privilege::DELETE) == 0) in SetOptions()
1550 …if ((m_nOptionMask & OPT_INSERT) && ((nPrivileges & Privilege::INSERT) == Privilege::INSERT) && (n… in setDataSource()
1552 …if ((m_nOptionMask & OPT_UPDATE) && ((nPrivileges & Privilege::UPDATE) == Privilege::UPDATE) && (n… in setDataSource()
1554 …if ((m_nOptionMask & OPT_DELETE) && ((nPrivileges & Privilege::DELETE) == Privilege::DELETE) && (n… in setDataSource()
/trunk/main/sal/osl/w32/
H A Dsecurity.c84 static BOOL Privilege(LPTSTR pszPrivilege, BOOL bEnable);
577 if (Privilege(SE_RESTORE_NAME, TRUE)) in osl_loadUserProfile()
854 static BOOL Privilege(LPTSTR strPrivilege, BOOL bEnable) in Privilege() function
/trunk/main/offapi/com/sun/star/sdb/
H A DTable.idl52 @see com::sun::star::sdbcx::Privilege
H A DRowSet.idl350 @see com::sun::star::sdbcx::Privilege
/trunk/main/dbaccess/source/ui/browser/
H A Dbrwctrlr.cxx1604 sal_Bool bInsertPrivilege = ( m_nRowSetPrivileges & Privilege::INSERT) != 0; in GetState()
1621 sal_Bool bDeletePrivilege = ( m_nRowSetPrivileges & Privilege::INSERT) != 0; in GetState()
1745 …AllowedAndPossible = ((nDataSourcePrivileges & ::com::sun::star::sdbcx::Privilege::INSERT) != 0) &… in GetState()
1746 …AllowedAndPossible = ((nDataSourcePrivileges & ::com::sun::star::sdbcx::Privilege::UPDATE) != 0) &… in GetState()
1747 …AllowedAndPossible = ((nDataSourcePrivileges & ::com::sun::star::sdbcx::Privilege::DELETE) != 0) &… in GetState()
/trunk/main/offapi/com/sun/star/sdbcx/
H A DPrivilege.idl32 published constants Privilege
H A DTable.idl59 @see com::sun::star::sdbcx::Privilege
/trunk/main/forms/source/component/
H A DDatabaseForm.cxx1282 m_nPrivileges &= ~Privilege::INSERT; in executeRowSet()
1284 m_nPrivileges &= ~Privilege::UPDATE; in executeRowSet()
1286 m_nPrivileges &= ~Privilege::DELETE; in executeRowSet()
1295 if (((m_nPrivileges & Privilege::INSERT) == Privilege::INSERT) in executeRowSet()
/trunk/main/connectivity/source/resource/
H A Dconn_shared_res.src228 Text [ en-US ] = "Privilege not granted: Only table privileges can be granted." ;
232 Text [ en-US ] = "Privilege not revoked: Only table privileges can be revoked." ;
/trunk/main/extensions/source/bibliography/
H A Dframectr.cxx375 return ((_rxCursorSet.is() && (nPriv & sdbcx::Privilege::INSERT) != 0)); in canInsertRecords()

Completed in 129 milliseconds

12