enabling the perforce administrator via mobile device

96
Enabling the P4 Administrator Via Mobile Device Xavier Galvez Senior Engineer Advanced Micro Devices, Inc. © 2011

Upload: perforce

Post on 13-Jan-2015

279 views

Category:

Technology


1 download

DESCRIPTION

Granting access and creating accounts on the Perforce depots at Advanced Micro Devices (AMD) is a 24/7 operation with engineers working around the world. Given the highly sensitive nature of the source code that resides on these depots, access to areas is tightly regulated and may be requested at a moment's notice. The administrators that create accounts and grant access to these areas should be enabled to perform these tasks wherever they are, and they may not necessarily have access to a desktop or have the means to log in to the company network remotely. By creating an interface accessible by Web browser with a pre-defined list of actions, AMD's administrators are able to perform these tasks securely by mobile device. Learn more about AMD's solution, and how you can enable mobile access to Perforce at your own company.

TRANSCRIPT

Page 1: Enabling the Perforce Administrator via Mobile Device

Enabling the P4 Administrator Via Mobile Device Xavier Galvez Senior Engineer Advanced Micro Devices, Inc.

© 2011

Page 2: Enabling the Perforce Administrator via Mobile Device

THE PROBLEM

•  Granting access is a 24/7 operation

Page 3: Enabling the Perforce Administrator via Mobile Device

THE PROBLEM

•  Granting access is a 24/7 operation •  Engineering teams span across the world

Page 4: Enabling the Perforce Administrator via Mobile Device

THE PROBLEM

•  Granting access is a 24/7 operation •  Engineering teams span across the world •  Access to areas is tightly regulated

Page 5: Enabling the Perforce Administrator via Mobile Device

THE PROBLEM

•  Granting access is a 24/7 operation •  Engineering teams span across the world •  Access to areas is tightly regulated •  A single team is authorized to give access

Page 6: Enabling the Perforce Administrator via Mobile Device

THE PROBLEM

•  Granting access is a 24/7 operation •  Engineering teams span across the world •  Access to areas is tightly regulated •  A single team is authorized to give access •  Be able to perform this task whenever and wherever

Page 7: Enabling the Perforce Administrator via Mobile Device

THE SOLUTION

•  Leverage the mobile device

Page 8: Enabling the Perforce Administrator via Mobile Device

THE SOLUTION

•  Leverage the mobile device •  Create an interface accessible by web browser

Page 9: Enabling the Perforce Administrator via Mobile Device

THE SOLUTION

•  Leverage the mobile device •  Create an interface accessible by web browser •  Use the browser on the mobile device

Page 10: Enabling the Perforce Administrator via Mobile Device

THE SOLUTION

•  Leverage the mobile device •  Create an interface accessible by web browser •  Use the browser on the mobile device •  Do it securely

Page 11: Enabling the Perforce Administrator via Mobile Device

CONTEXT

This presentation touches on: •  Breadth of the organization •  Permissions in the protection table •  Centralized authorization process

Page 12: Enabling the Perforce Administrator via Mobile Device

CONTEXT

This presentation touches on: •  Breadth of the organization •  Permissions in the protection table •  Centralized authorization process

Then I discuss: •  Evolution of the solution •  Simplicity •  Where to go from here

Page 13: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 14: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 15: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 16: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 17: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 18: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 19: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 20: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 21: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 22: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 23: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 24: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 25: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

Page 26: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

grp_northamerica

Page 27: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

grp_northamerica grp_israel

Page 28: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

grp_northamerica grp_israel grp_india

Page 29: Enabling the Perforce Administrator via Mobile Device

GLOBAL SCOPE

grp_northamerica grp_israel grp_india grp_shanghai

Page 30: Enabling the Perforce Administrator via Mobile Device

depot

main

DEPOT STRUCTURE & PERMISSIONS

stg rel

Page 31: Enabling the Perforce Administrator via Mobile Device

DEPOT STRUCTURE & PERMISSIONS

depot

stg main rel

Page 32: Enabling the Perforce Administrator via Mobile Device

DEPOT STRUCTURE & PERMISSIONS

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... w bm_merc //depot/main/merc/... r ACC_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt w bm_venus //depot/main/venus/... r ACC_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

depot

Page 33: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... w bm_merc //depot/main/merc/... r ACC_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt w bm_venus //depot/main/venus/... r ACC_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

DEPOT STRUCTURE & PERMISSIONS

merc

Page 34: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... w bm_merc //depot/main/merc/... r ACC_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt w bm_venus //depot/main/venus/... r ACC_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc

DEPOT STRUCTURE & PERMISSIONS

Page 35: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt w bm_venus //depot/main/venus/... r ACC_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

DEPOT STRUCTURE & PERMISSIONS

Page 36: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt w bm_venus //depot/main/venus/... r ACC_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

DEPOT STRUCTURE & PERMISSIONS

Page 37: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

DEPOT STRUCTURE & PERMISSIONS

Page 38: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

DEPOT STRUCTURE & PERMISSIONS

Page 39: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

8.10

merc

venus

DEPOT STRUCTURE & PERMISSIONS

Page 40: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

8.10

merc

venus

DEPOT STRUCTURE & PERMISSIONS

Page 41: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

8.10

merc

venus

DEPOT STRUCTURE & PERMISSIONS

Page 42: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

8.10

merc

venus

DEPOT STRUCTURE & PERMISSIONS

Page 43: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

8.10

merc

venus

DEPOT STRUCTURE & PERMISSIONS

Page 44: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

8.10

merc

venus nda

nda

DEPOT STRUCTURE & PERMISSIONS

Page 45: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

main stg rel

src

doc

merc merc

src

doc

venus

venus

8.10

merc

venus nda

nda

DEPOT STRUCTURE & PERMISSIONS

Page 46: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

PERMISSIONS: HIGH-LEVEL TEAMS

bm_rel

bm_merc

nda_merc

reg_merc

bm_venus

nda_venus

reg_venus

grp_admins

Page 47: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

PERMISSIONS: HIGH-LEVEL TEAM EXAMPLES

bm_venus

grp_admins

Page 48: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

PERMISSIONS: ACCESS GROUPS

ACC_rel

REG_rel

ACC_main

ACC_merc

ACC_venus

Page 49: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

PERMISSIONS: ACCESS GROUP EXAMPLE

ACC_rel

ACC_main

ACC_merc

grp_shanghai

Page 50: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

PERMISSIONS: ACCESS GROUP EXAMPLE

ACC_rel

ACC_main

ACC_merc

ACC_venus

grp_northamerica

Page 51: Enabling the Perforce Administrator via Mobile Device

r ACC_rel //depot/rel/... w bm_rel //depot/rel/... w ACC_rel //depot/rel/8.10/... r ACC_rel -//depot/rel/*/acc.txt w REG_rel //depot/rel/*/acc.txt r ACC_main //depot/main/... r ACC_merc //depot/main/merc/... w bm_merc //depot/main/merc/... w ACC_merc //depot/stg/merc/src/... w ACC_merc //depot/stg/merc/doc/... w nda_merc //depot/stg/merc/nda/... w reg_merc //depot/stg/merc/acc.txt r ACC_venus //depot/main/venus/... w bm_venus //depot/main/venus/... w ACC_venus //depot/stg/venus/src/... w ACC_venus //depot/stg/venus/doc/... w nda_venus //depot/stg/venus/nda/... w reg_venus //depot/stg/venus/acc.txt s grp_admins //...

PERMISSIONS: COMBINATION EXAMPLE

ACC_rel

ACC_main

ACC_merc

bm_venus

ACC_venus

grp_northamerica

Page 52: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA P4 USER

Page 53: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA P4 USER

Page 54: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA NEWUSER.EXE

Page 55: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA NEWUSER.EXE

Page 56: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS

Page 57: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS

Page 58: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS

Page 59: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS

Page 60: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS

Page 61: Enabling the Perforce Administrator via Mobile Device

PROBLEMS WITH BINARIES

•  Newer versions need to be recompiled.

Page 62: Enabling the Perforce Administrator via Mobile Device

PROBLEMS WITH BINARIES

•  Newer versions need to be recompiled. •  Deployment.

Page 63: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS

Page 64: Enabling the Perforce Administrator via Mobile Device

ADVANTAGES WITH WEB APPS

•  Newer versions available right away.

Page 65: Enabling the Perforce Administrator via Mobile Device

ADVANTAGES WITH WEB APPS

•  Newer versions available right away. •  Experimental versions can be easily tested.

Page 66: Enabling the Perforce Administrator via Mobile Device

ADVANTAGES WITH WEB APPS

•  Newer versions available right away. •  Experimental versions can be easily tested. •  Real-time validation on inputs.

Page 67: Enabling the Perforce Administrator via Mobile Device

ADVANTAGES WITH WEB APPS

•  Newer versions available right away. •  Experimental versions can be easily tested. •  Real-time validation on inputs. •  OS-independent.

Page 68: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #1: WEB SERVER

Page 69: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #1: WEB SERVER

Page 70: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #1: WEB SERVER

Page 71: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA WEB APP

Page 72: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA WEB APP

Page 73: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA WEB APP

Page 74: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA WEB APP

Page 75: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA WEB APP

Page 76: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA WEB APP

Page 77: Enabling the Perforce Administrator via Mobile Device

CREATING ACCOUNTS VIA WEB APP

Page 78: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #2: BLACKBERRY

internet

AMD

wireless network

firewall BES

Page 79: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #2: BLACKBERRY

internet

AMD

wireless network

firewall BES

Page 80: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #2: BLACKBERRY

Page 81: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #3: iOS

internet

AMD

wireless network

firewall secure VPN

Page 82: Enabling the Perforce Administrator via Mobile Device

LEVERAGE EXISTING RESOURCE #3: iOS

Page 83: Enabling the Perforce Administrator via Mobile Device

Wireless Solutions •  BlackBerry Enterprise Solution for Blackberries •  Secure VPN for iOS devices

SECURITY

Page 84: Enabling the Perforce Administrator via Mobile Device

Wireless Solutions •  BlackBerry Enterprise Solution for Blackberries •  Secure VPN for iOS devices

HTTP is not secure, use HTTPS! •  Encrypts the HTTP message prior to transmission •  Decrypts the message upon arrival •  Requires the use of CA certificates

SECURITY

Page 85: Enabling the Perforce Administrator via Mobile Device

Wireless Solutions •  BlackBerry Enterprise Solution for Blackberries •  Secure VPN for iOS devices

HTTP is not secure, use HTTPS! •  Encrypts the HTTP message prior to transmission •  Decrypts the message upon arrival •  Requires the use of CA certificates User Authentication and Identification •  REMOTE_USER environment variable

SECURITY

Page 86: Enabling the Perforce Administrator via Mobile Device

Keep the location of the web page unknown •  Only known to Perforce admins

REDUCING RISK

Page 87: Enabling the Perforce Administrator via Mobile Device

Keep the location of the web page unknown •  Only known to Perforce admins Limit what can be done on the web page •  Create a new user account •  Display information from p4 protects and p4 groups •  Add an existing user to currently existing groups •  Remove the user from a group •  Reset the password of an existing user

REDUCING RISK

Page 88: Enabling the Perforce Administrator via Mobile Device

WHAT NEXT?

Server-side APIs •  P4Java, P4Perl, P4Ruby, P4Python, P4PHP •  ASP.NET with Perforce C/C++ API

Page 89: Enabling the Perforce Administrator via Mobile Device

WHAT NEXT?

Server-side APIs •  P4Java, P4Perl, P4Ruby, P4Python, P4PHP •  ASP.NET with Perforce C/C++ API

Client-side Technologies •  jQuery, jQuery Mobile, HTML5

Page 90: Enabling the Perforce Administrator via Mobile Device

WHAT NEXT?

Server-side APIs •  P4Java, P4Perl, P4Ruby, P4Python, P4PHP •  ASP.NET with Perforce C/C++ API

Client-side Technologies •  jQuery, jQuery Mobile, HTML5

More Features! •  Monitor and restart servers •  Most-used commands can be called

Page 91: Enabling the Perforce Administrator via Mobile Device

CONCLUSION

The result: •  Simple mechanism •  Took advantage of existing resources •  Latest web technologies were not necessary •  Quick development, fast deployment

Page 92: Enabling the Perforce Administrator via Mobile Device

CONCLUSION

The result: •  Simple mechanism •  Took advantage of existing resources •  Latest web technologies were not necessary •  Quick development, fast deployment

The advantages: •  Web page + mobile device allows rich feature set •  Write once, run on all •  Feel at home with the same interface •  Not just work hard, but work SMART

Page 93: Enabling the Perforce Administrator via Mobile Device

CHALLENGE

Page 94: Enabling the Perforce Administrator via Mobile Device

Questions?

Page 95: Enabling the Perforce Administrator via Mobile Device

Thank you!

[email protected]

Page 96: Enabling the Perforce Administrator via Mobile Device

ICON CREDITS

•  http://www.iconshock.com/ •  http://fasticon.com/ •  http://johnfreeborn.com/ •  http://www.deleket.com/ •  http://www.customicondesign.com/ •  http://www.visualpharm.com/ •  http://www.icons-land.com/ •  http://3dlb.com/